1.settings.xml标签被注释掉了Local Repository的路径为:${user.home}/.m2/repository
该标签被打开,则Local Repository中的路径为settings.xml中<localRepository>标签配置的路径
2.web.xml is missing and <failOnMissingWebXml> is set to true
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<webResources>
<resource>
<!--配置本地jar包在项目中的存放路径-->
<directory>/web/WEB-INF/lib/</directory>
<!--配置打包时jar包的存放路径-->
<targetPath>WEB-INF/lib</targetPath>
<includes>
<include>**/*.jar</include>
</includes>
</resource>
</webResources>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>