Description Resource Path Location Type Java compiler level does not match the version of(图解)
2017-11-05 11:56
701 查看
Description Resource Path Location Type Java compiler level does not match the version of
project 编译问题,需要三处的jdk版本要保持一致,才能编译通过。
1、在项目上右键properties->project Facets->修改右侧的version 保持一致
![](http://img.blog.csdn.net/20141010192424015?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveXV6b25ndGFv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
2、window->preferences->java->Compiler->设置右侧的Compiler compliance level
![](http://img.blog.csdn.net/20141010192528078?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveXV6b25ndGFv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
3、window->preferences->java->Installed JREs->设置或者选择右侧的Installed JREs
![](http://img.blog.csdn.net/20141010192616156?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveXV6b25ndGFv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
以上三处的jdk版本要保持一致,才能编译通过
另外,一般新导入的工程需要设置编码格式,如下图:
project 编译问题,需要三处的jdk版本要保持一致,才能编译通过。
1、在项目上右键properties->project Facets->修改右侧的version 保持一致
2、window->preferences->java->Compiler->设置右侧的Compiler compliance level
3、window->preferences->java->Installed JREs->设置或者选择右侧的Installed JREs
以上三处的jdk版本要保持一致,才能编译通过
另外,一般新导入的工程需要设置编码格式,如下图:
相关文章推荐
- (图解)Description Resource Path Location Type Java compiler level does not match the version of
- Description Resource Path Location Type Java compiler level does not match the version of(图解)
- (图解)Description Resource Path Location Type Java compiler level does not match the version of
- Description Resource Path Location Type Java compiler level does not match the version of the installed Java project(Java Version Mismatch)
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path LocationType Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the insta
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the in...
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- Description Resource Path Location Type Java compiler level does not match the version of the instal