Reputation: 191
I have a java project in eclipse that was imported from SVN with the subclipse plugin. If I attempt to add a class to the project, it won't create the .class file so it says "Error: Could not find or load main class" The .bin folder is empty. Any projects that I create outside of the SVN project work fine. Any ideas?
Upvotes: 0
Views: 1455
Reputation: 10419
Did you add your Eclipse .project and .classpath files to your repository? If you did not, then it is possible when you checked out your project was not configured as a Java project. You would have to take the checkout option to use the New Project Wizard so that you could create the right type of project.
If you just do a checkout and there is no .project file in the repository then you get a "Simple Project" which will not have any Java tools or builders tied to it.
Upvotes: 1