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

将pom.xml文件中packaging的值由jar改为war之后提示:Project configuration is not up-to-date with pom.xml. Run Maven->Update Project 。

解决:

项目->右键->Maven->Update Project...->选中项目->选中Update project configuration from pom.xml->选择OK

你可能感兴趣的:(configuration)