今天导入了一个maven项目,一切都配置好后,pom.xml文件有报错,参考了一个英文版的说明,算是解决了,这里记录下
1、打开eclipse或myeclipse的问题显示窗口:'Window' -> 'Show View' -> 'Problems'
2、右击一个显示描述为“ 'Plugin execution not covered by lifecycle configuration: com.googlecode.mavenfilesync:maven-filesync-plugin:1.0.0:generate (execution: default, phase: initialize)'”的报错信息,在弹出的菜单中选着“'Quick Fix'”
3、在Quick Fix窗口中,选中 'Permanently mark goal generate in pom.xml as ignored in Eclipse build',然后点击 'Finish'-》选 'OK'
4、Eclipse和myeclipse可能会报错 'Projct configuration is not up-to-date with pom.xml. Run project configuration update'.按照上述方法,右击“quick Fix”解决
5、重复 2-3步骤解决其他的问题