user2579720
user2579720

Reputation: 43

I changed <packaging>war</packaging> to <packaging>pom<packaging>, but I am getting an error

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?

Upvotes: 1

Views: 5670

Answers (2)

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>

Upvotes: 0

user944849
user944849

Reputation: 14951

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

Upvotes: 2

Related Questions