Description Resource Path LocationType Java compiler level does not match the version of the instal

来源:互联网 发布:ringdivas 淘宝 编辑:程序博客网 时间:2024/04/30 19:51

有时,我们导入别人的项目的时候,会发生这个错误:

Description Resource Path Location Type Java compiler level does not match the version of the install。

这是由于在开发那个项目的时候,锁定了使用其他版本的JDK,但是你的编辑器没有相对应的JDK便会报这个错误。

解决方法:
右键项目-->Properties-->myEclipse-->project Facets -->java

可以选择对于的Jdk版本,或者去掉勾。

0 0
原创粉丝点击