项目名报错,Java compiler level does not match the version of the installed Java project facet.
来源:互联网 发布:中维云视通监控软件 编辑:程序博客网 时间:2024/06/05 10:51
因工作的关系,Eclipse开发的Java项目拷来拷去,有时候会报一个很奇怪的错误。明明源码一模一样,为什么项目复制到另一台机器上,就会报“java compiler level does not match the version of the installed java project facet”错误呢?
如图所示:
问题原因:
Facted Project 中的Java 版本设定与项目的Java编译器的compliance level设定不一致。
解决办法:
把两者设置成相同。
第一步:查看Compiler compliance level
右键Project | Properties | Java Compiler(type filter text输入compiler可快速定位),如下图所示:
根据图中显示可知,Compiler compliance level是6.0(当然您的项目该值很可能不是6.0)
第二步:修改Project Facets的Java值,使之和Compiler compliance level相同:
右键Project | Properties | Project Facets(type filter text输入facet可快速定位):
=>选中Java那行
=>点击Modify Project...按钮
=>修改Java的值,使之和Compiler compliance level相同(本例为6.0)
大功告成!
0 0
- 项目名报错,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
- Error: 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……
- 解决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.
- Debug日记输出正常,html页面乱码问题
- 【操作记录】CentOS编译安装mysql
- jdk动态代理参数理解
- POJ 3420 Quad Tiling 已被翻译
- Linux下unzip乱码解决方案
- 项目名报错,Java compiler level does not match the version of the installed Java project facet.
- 跟我一起写 Makefile(七)
- Toast的五种用法
- [LeetCode]N-Queens
- C/C++——指针目录
- java swing 学习笔记(一)
- AndroidStudio中SVN异常:Errors found while svn working copies detection. Fix it.
- PS基础操作(上)
- JavaScript十大经典排序算法