I am getting the above error when i try to launch a Project which i checked out from SVN Repository. When i make my own Java Project on eclipse with a main class everything works fine, but when i try to run the main class from my repository project i get the above message.
I did not have such a problem before. Repository projects were running fine, i got suddenly this error yesterday and after searching the internet i still can't fix it.
I have now 3 Projects on eclipse, home which is a java project made by me and two projects from repository lech and kramerspitz.
Under Run-> Run Configuration->Java Application->Project Browse i see only the home Project which i made, although the two other repository projects are also in my workspace but they don't show up. (Run As is empty)
Does anyone know what i should do? Re-installing Eclipse does not help, cause the problem remains.
The only difference i see is that the two repository projects are missing a .classpath file. Please help!
Hear are some pics:
As it seems I can't just check out on the project from the SVN repository. I have to choose from the project a specific project to check out, then everything works fine.
Sometimes it happens when you forget to write "String[] args" in the main parenthesis
public class Hello {
public static void main(){
System.out.println("Hello");
}
}
Code above would cause a similar problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With