Description Resource Path Location Type Java compiler level does not match the version of解决办法

  • Post author:
  • Post category:java


问题描述:使用MyEclipse导入项目时,项目名称出现红色叉叉,报错Description Resource Path Location Type Java compiler level does not match the version of,原因是jdk版本不一致。

解决方法:

1、在项目上右键properties->MyEclipse->project Facets->java 修改version保持一致,我自己使用的是1.6版本

在这里插入图片描述

2.window->preferences->java->Compiler->设置右侧的Compiler compliance level为1.6,点击apply->OK完成

在这里插入图片描述

3、window->preferences->java->Installed JREs->选择1.6
在这里插入图片描述

ok解决。



版权声明:本文为weixin_44855758原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。