首先,windows--->show view --->markers 报:
1.JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.SSMDemo Maven Webline 1Maven Java EE Configuration Problem
在pom.xml配置文件中加入如下语句:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<encoding>UTF-8</encoding>
<source>1.7</source>
<target>1.7</target>
</configuration>
</execution>
</executions>
</plugin>
- Description Resource Path Location Type Cannot change version of project facet Dynamic Web Module to 2.5.
在项目的硬盘目录中,找到.setting文件夹下的org.eclipse.wst.common.project.facet.core.xml文件,修改<installed facet="jst.web" version="2.5"/>即可。