Maven 错误
作者:
XM_Dong | 来源:发表于
2017-11-03 16:26 被阅读5次
Dynamic Web Module 3.0 requires Java 1.6 or newer
One or more constraints have not been satisfied.
解决方案 在pom.xml中添加
<build>
<plugins>
<!-- define the project compile level -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
添加完之后右键项目-->Maven-->Update Project
本文标题:Maven 错误
本文链接:https://www.haomeiwen.com/subject/xeitmxtx.html
网友评论