Error: Java compiler level does not match the version of the installed Java project facet.
2011-05-13 15:25
483 查看
问题现象:项目图标报错“Java compiler level does not match the version of the installed Java project facet.”。
分析原因:这个是因为Project Facets中的Java版本设定与项目的Java版本设定不一致。
解决方法:(依据ECLIPSE自带的帮助)
Changing the version of a facet
You can change the version of a facet in a J2EE project by editing the facets for the project.
Changing the Java compiler version of a J2EE project involves
changing the version of the Java facet. See Changing the Java compiler
version for a J2EE project.
1. In the Project Explorer view, right-click the project and then click "Properties".
2. In the Properties window, click "Project Facets". The Project Facets page lists the facets in the project.
3. Click "java" option, and select the version is your java compiler version(1.6).
4. Click OK.
分析原因:这个是因为Project Facets中的Java版本设定与项目的Java版本设定不一致。
解决方法:(依据ECLIPSE自带的帮助)
Changing the version of a facet
You can change the version of a facet in a J2EE project by editing the facets for the project.
Changing the Java compiler version of a J2EE project involves
changing the version of the Java facet. See Changing the Java compiler
version for a J2EE project.
1. In the Project Explorer view, right-click the project and then click "Properties".
2. In the Properties window, click "Project Facets". The Project Facets page lists the facets in the project.
3. Click "java" option, and select the version is your java compiler version(1.6).
4. Click OK.
相关文章推荐
- Java compiler level does not match the version of the installed Java project facet.-Dmaven.multiModu
- Java compiler level does not match the version of the installed Java project facet解决
- Eclipse下Java compiler level does not match the version of the installed Java project facet的问题
- java compiler level does not match the version of the installed Java project facet 解决方法
- Java compiler level does not match the version of the installed Java project facet.问题解决办法
- java compiler level does not match the version of the installed java project facet
- GOOD解决MyEclipse工具中java compiler level does not match the version of the installed java project facet
- Java compiler level does not match the version of the installed Java project facet.
- Java compiler level does not match the version of the installed Java project facet.
- Java compiler level does not match the version of the installed Java project facet
- Java compiler level does not match the version of the installed Java project facet.
- 解决java compiler level does not match the version of the installed java project facet【转载】
- 解决java compiler level does not match the version of the installed java project facet
- java compiler level does not match the version of the installed java project facet
- Java compiler level does not match the version of the installed Java project facet
- Java compiler level does not match the version of the installed Java project facet 的解决方案
- 解决java compiler level does not match the version of the installed java project facet
- Java compiler level does not match the version of the installed Java project facet.
- Java compiler level does not match the version of the installed Java project facet
- myeclipse(java compiler level does not match the version of the installed java project facet)