cannot change version web module 3.0

Posted 黄洪波写点东西的地方

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cannot change version web module 3.0相关的知识,希望对你有一定的参考价值。

eclipse如何修改dynamic web module version

由于从SVN down下来的工程java及tomcat 版本比本地高,导致工程不能编译,报以下错误。

1.Java compiler level does not match the version of the installed Java project facet.

2.Target runtime Apache Tomcat v8.0 is not defined.

本机默认jdk为1.6版本,tomcat为7.0版本。

检查Project Facets,

试图更新为低版本时报如下错误

此时,改.settings中的org.eclipse.wst.common.project.facet.core.xml文件即可

<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>

即可

 

以上是关于cannot change version web module 3.0的主要内容,如果未能解决你的问题,请参考以下文章

使用maven创建项目和cannot change version web module 3.0

Type Cannot change version of project facet Dynamic Web Module to 2.5 报错

Cannot change version of project facet Dynamic Web Module to 3.1.

转解决Cannot change version of project facet Dynamic web module to 2.5

解决Cannot change version of project facet Dynamic web module to 3.0

Cannot change version of project facet Dynamic web module to 3.0