Error message:
Reported description Resource Path location Type Java compiler level does not match the version of the installed Java project FAC ET. This problem occurs because the JDK build version of Eclipse/myeclipse is inconsistent with the problematic JDK compilation version of the project!
Tools/Materials
Baidu Experience: jingyan.baidu.com
Method/Step
- 1
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
Steps to read
- 2
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)
Steps to read
- 3
Enter Project--properties---java Compiler to set the project compilation version to 1.7
Steps to read
- 4
Enter Project--properties---myeclipse---project facets set Java file version to 1.7
Steps to read
- 5
Here, complete the configuration
There is no mistake in the Java program, but the project shows a red fork solution