解决MyEclipse2017代码缺失build问题
出现的Error
1.Dynamic Web Module 3.0 requires Java 1.6 or newer.
2.One or more constraints have not been satisfied.
3.Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.
4.Spring 4.1 requires Java 1.6 or newer.
<project>
<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>
<finalName>XXX</finalName>
</build>
</project>
1.clean project
2.update Maven Project
PS : SDK编译版本
该页面评论已关闭