运行java项目首先配置java运行时环境:Window->Preferences->Java->Installed JREs
修改为jdk:C:Program FilesJavajdk1.6.0_25
Project Facets
必须与工程目录下
.setting文件夹内的org.eclipse.wst.common.project.facet.core.xml文件
<installed facet="jst.web" version="3.0"/>
与version保持一致
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>