码迷,mamicode.com
首页 > 编程语言 > 详细

转:Java compiler level does not match the version of the installed Java project facet

时间:2016-05-13 07:33:07      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

a.问题描述:eclipse加载新的项目后报一个错误,具体描述如下:

Description Resource PathLocation Type
Java compiler level does notmatch the version of the installed Java project facet.webattemp 
Unknown FacetedProject Problem (Java Version Mismatch)

b.问题分析:

       java版本不匹配:Facted Project 中的Java 版本设定与项目的Java 版本设定不一致。

c.问题解决:

       在当前项目上点右键,属性--Project Facets中,配置编译版本与javacompiler的版本一致。   

     1)、选中项目右键Project->Properties -> Java Compiler(type filter text输入compiler可快速定位),如下图所示:

  技术分享

       2)、修改Project Facets的Java值,使之和Compiler compliance level相同:打开方式参考1,如下图:

  技术分享

 

  附:文章转自:http://www.xuebuyuan.com/793587.html

 

转:Java compiler level does not match the version of the installed Java project facet

标签:

原文地址:http://www.cnblogs.com/machanghai/p/5484691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!