Recently in doing Springboot project, found Springboot project has a red fork but can not find which class error, ecplise not the project automatically compiled, run also prompted "error: Cannot find or Load main class", into the workspace "Project \target\classes", found that the project Java class is not compiled at all, try to find all kinds of ways can not, and later on the Internet sent this article to try to really http://blog.csdn.net/u011526234/article/details/ 50394951, now remark below, hope can also help others encounter similar problems in the pot friends
The steps are as follows:
Click Project Right-->properties-->java compiler-->building-->enable project specific Settings-->build path Problems--> Select Abort Incomplete build path/circular dependencies These two options are modified to warning, then save.
At this time found the Red fork disappears, start the main method, the project can run access.
Springboot Project has a red fork, and Ecplise does not automatically compile the project, run the prompt "error: The main class could not be found or could not be loaded"