pom.xml

 1 <plugins>
 2             <plugin>
 3                 <groupId>org.apache.maven.plugins</groupId>
 4                 <artifactId>maven-compiler-plugin</artifactId>
 5                 <version>3.0</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     xmlns="http://java.sun.com/xml/ns/javaee"
4     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
5     id="WebApp_ID" version="3.0">

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>

切换为3.0版本之后,项目路径一直访问不了,~~清空tomcat部署项目~~,问题终于解决

 

 

posted on 2017-01-10 11:47  筱筱鹿丸  阅读(3071)  评论(0编辑  收藏  举报