【发布时间】:2015-08-08 07:04:18
【问题描述】:
我已将war改为pom,但出现以下错误:
Project configuration is not up-to-date with pom.xml.
Run Maven->Update Project or use Quick Fix.
我该如何解决这个错误?
【问题讨论】:
标签: maven pom.xml packaging parent-pom
我已将war改为pom,但出现以下错误:
Project configuration is not up-to-date with pom.xml.
Run Maven->Update Project or use Quick Fix.
我该如何解决这个错误?
【问题讨论】:
标签: maven pom.xml packaging parent-pom
http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 br.com.projetoweb03 宇宙2 0.0.1-快照 战争
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
【讨论】:
假设您使用的是 Eclipse,您右键单击 pom,选择 Maven --> Update Project。
【讨论】: