Problem description: an error is reported after eclipse loads a new project. The specific description is as follows:
Description Resource PathLocation TypeJava compiler level does notmatch the version of the installed Java project facet.webattemp Unknown FacetedProject Problem (Java Version Mismatch)
Problem Analysis:
Java version mismatch:Facted ProjectInJavaVersion setting and ProjectJavaVersion settings are inconsistent.
Solution:
Right-click the current project and choose Properties-- Project facets, Configure the compilation version andJava
Compiler.
1. After selecting a project, press Alt + enter or right-click the project.
| Properties | Java compiler (Type Filter text input compiler can be quickly located), as shown in:
2. Modify the Java value of project facets to make the sum of compiler compliance level the same: open method reference 1, for example:
Reference from: http://blog.163.com/luckcq@yeah/blog/static/171747707201172223546805/