Description Resource Path Location Type
One or more constraints have not been satisfied. springmvc1 line 1 Maven Java EE Configuration Problem
Description Resource Path Location Type
One or more constraints have not been satisfied. springmvc1 line 1 Maven Java EE Configuration Problem
1.在pom.xml文件中添加如下代码:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
2.右键项目--------》properityies------------》maven-------------》update maven