Dynamic Web Module 2.3 change to 3.0 maven工程解决办法

Posted 筱筱鹿丸

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Dynamic Web Module 2.3 change to 3.0 maven工程解决办法相关的知识,希望对你有一定的参考价值。

pom.xml

 1 <plugins>
 2             <plugin>
 3                 <groupId>org.apache.maven.plugins</groupId>
 4                 <artifactId>maven-compiler-plugin</artifactId>
 5                 <version>3.1</version>
 6                 <configuration>
 7                     <source>1.7</source>
 8                     <target>1.7</target>
 9                 </configuration>
10             </plugin>
11         </plugins>

web.xml

1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
4                 http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
5     version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee">
6 
7 </web-app>

org.eclipse.wst.common.project.facet.core.xml

1 <?xml version="1.0" encoding="UTF-8"?>
2 <faceted-project>
3   <fixed facet="wst.jsdt.web"/>
4   <installed facet="wst.jsdt.web" version="1.0"/>
5   <installed facet="java" version="1.7"/>
6   <installed facet="jst.web" version="3.0"/>
7 </faceted-project>

 

以上是关于Dynamic Web Module 2.3 change to 3.0 maven工程解决办法的主要内容,如果未能解决你的问题,请参考以下文章

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

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

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

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

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

BUG:Cannot change version of project facet Dynamic web module to 2.5