質問

I have changed war to pom, but I am getting the following error:

Project configuration is not up-to-date with pom.xml. 
Run Maven->Update Project or use Quick Fix.

How can I solve this error?

役に立ちましたか?

解決

Assuming you are using Eclipse, you right click the pom, choose Maven --> Update Project.

他のヒント

http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 br.com.projetoweb03 universo2 0.0.1-SNAPSHOT war

<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>

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top