项目在老环境不报错,新环境报错。
http://wiki.eclipse.org/M2E_plugin_execution_not_covered
在<plugins> 标签外再套一个 <pluginManagement> 标签
http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
....
</plugins>
</pluginManagement>
</build>
Window-Perferences-Maven-Lifecycle Mapping
点击 ”Reload workspace lifecycle mappings metadata“
时间: 2024-10-25 06:36:08