It seems that eclim does not have a set of properties that identifies your main application class. According to http://eclim.org/vim/java/java.html you should fix this by setting the org.eclim.java.run.mainclass properties of your project (to the fully qualified name of the main class of your application).
EDIT - response to comment:
I am not familiar with eclim, but I would expect that since this is a project property, you should set it once and from now on it should be saved with the project.
On the other hand, if you want to have several main classes that can be called and switch between them, then, of course, you will need to provide some additional configuration. How would you expect eclim to find out what you had in mind by simply typing :Java ? Maybe there is good syntactic sugar that you can use to register several classes and call them like "java 1", "java 2", etc., but at the end of the day you will always need some way to distinguish between re thinking about running.
source share