码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2017-01-10 13:18:09      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:dynamic   color   target   mon   .project   get   plugin   3.0   config   

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工程解决办法

标签:dynamic   color   target   mon   .project   get   plugin   3.0   config   

原文地址:http://www.cnblogs.com/hym-pcitc/p/6268814.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!