Search code examples
mavenpom.xmlpackagingparent-pom

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?


Solution

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