Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Could not find or load main class(I know this error is very common and I've investigated some of the most common causes, but nothing...)
Could not find or load main class [message #882838] Thu, 07 June 2012 09:45
Jorge Antonio Díaz-Benito Soriano is currently offline Jorge Antonio Díaz-Benito SorianoFriend
Messages: 10
Registered: May 2012
Junior Member
Hello there,

I'm getting that error message every time that I try to run my project. However:

1 - My main class is properly named.
2 - The package is properly structured.
3 - In Run configurations..., I can find and select the Main Class that must be chosen, and choose it. But then, when running, I get the error.

I've tried cleaning the project but nothing new.
Build automatically is activated.

The only 'strange' thing I'm realizing is this: In 'Properties', Java Build Path, in the Source tab, although I check the 'Allow output folder for source folders' and then press OK, if I open it again the option is unchecked.

Using 1.7.03.

Anyone knows what to do?

Thanks.
Previous Topic:convert c# to java tool
Next Topic:Declared package does not match expected package
Goto Forum:
  


Current Time: Thu Apr 25 17:35:02 GMT 2024

Powered by FUDForum. Page generated in 0.02693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top