Java - Main Class Execution Error

Asked

Viewed 221 times

0

Good afternoon,

After using Eclipse Luna and returning to Eclipse Mars simply business broke up until I deleted the Eclipse files to see if it solved and import again the java project but keeps giving the following error.

(Jframe Access): "Error: Could not find or load main view class. Log in"

All the other Jframes have the same problem. Now I created another to do the test and it runs the window or open the program window. Although I haven’t made any changes to the source code of the Jframes the problem just came up. I have no idea how to fix this...

1 answer

1


Accessing seems to be a class of your project, this is because Eclipse must not have recognized or set the path of your package, maybe because it has been changed, check the path of the package.

Another possible situation that may have occurred is that the Java version is not configured correctly in this change.

Also check the import of the Jframe class if Java recognizes it as part of the Swing API.

One last alternative I know is to go to the Project > Clean tab and choose your project so that the eclipse tries to solve the build problems.

  • I used another one I had and solved the problem. Thank you!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.