Error: Could not find or load main class
The error appears in all my files in Eclipse.
Error: Could not find or load main class
The error appears in all my files in Eclipse.
 
    
    I believe this happens because one or more of your run and/or debug targets are out of date, maybe because you have moved or renamed a class (or the package) with a main method or moved the main method. Go to Run --> Run Configurations... and check what you have set for Main Class:for your application configurations. (and do the same for Debug if necessary)
