Solutions
On the project, right-click properties-Project Facets, in the Java drop-down list in the Open Project Facets page, select the appropriate version.
It's possible that java1.6 changed to java6 or something.
When importing a project from another place, you will often encounter Eclipse/myeclipse description Resource Path location Type Java compiler levels does not match the Vers Ion of the installed Java project facet. This problem occurs because the Eclipse/myeclipse JDK build version is inconsistent with the problematic JDK compilation version of the project!
Tools/Materials
Method/Step
Set up the JDK first, need to determine the project, Eclipse/myeclipse, the system is using the same version of the JDK, my system installed JDK is 1.7, so I put eclipse jdk into 1.7
Enter Windows---proferences---java--compiler settings compiled files using the format is 1.7 version (set to how many lines, as long as compatible, and with your project compiled version always can, I here unified set to 1.7)
Enter Project--properties---java Compiler to set the project compilation version to 1.7
Enter Project--properties---myeclipse---project facets set Java file version to 1.7
Description Resource Path location Type Java compiler level does not match the version of the instal