Idea error: unable to find or load the main class

Error in running Java class: main class not found or cannot be loaded

resolvent:

1 close the current project

2 delete the. Idea folder of this project

3 reopen the project

that will do


Read More: