The message is simple: you can not start an application that has no entry point. See the most used demo:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
Do you see the difference? This will run, since it has a
public static void main(String[] args)
signed method. Do like this. Of course, you can have other methods too.