小码问答,有问必答!

2020-11-12 14:34

Java compiler level does not match the version of the installed Java project facet。1.6不能改成1.8

牛叔叔 2020-11-12 14:34 回答了这个问题

JavaEE

报错:

Failed while changing version of Java to 1.8. 

Project facet jst.web.jstl has not been defined.

解决如下:


找到项目目录中的.classpath文件

找到

<attribute name="owner.project.facets" value="jst.web.jstl"/>

将这行删除


在eclipse中刷新项目,并打开配置选项卡,jdk版本就可以改变成 1.8了


0条评论

我要评论