1、问题:
Target runtime Apache Tomcat v7.0 is not defined
解决方法:
right click on your project > Properties > Targeted Runtime > Click the version required 8.0
相关资料:
2、问题:
Maven项目中的Dynamic Web Module 3.0 requires Java 1.6 or newer
解决方法
在项目的pom.xml的 build 标签中加入:
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins>
相关资料:
http://blog.csdn.net/liuxinghao/article/details/37088063
时间: 2024-10-26 06:28:00