(1)出现"
One or more constraints have not satisified",解决方法如下,在pom.xml文件中加入:
(2)出现<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>
解决方法如下,在pom.xml文件中加入:Cannot detect Web Project version. Please specify version of Web Project through
(3)创建好了web项目后,可以右键该项目,找到Project Facets菜单项,选择与pom.xml文件中配置的相应的jdk版本,以免出现错误,<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<version>3.0</version>
</configuration>
</plugin>
</plugins>
</build>