myeclipse 导入maven项目pom.xml文件报错解决方法

问题:在导入项目过程加载pom.xml文件时错误信息:No marketplace entries found to handle maven-compiler-plugin:3.3:compile in Eclipse.  Please see Help for more information.

No marketplace entries found to handle maven-compiler-plugin:3.3.:testCompile in Eclipse.  Please see Help for more information.

导入完成pom.xml文件的错误信息:Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (execution: default-compile, phase: compile)

百度了上乱七八槽的说: 在<plugins> 标签外再套一个 <pluginManagement> 标签  ,还有的说的是缺少相应的jar包   ,这不是核心

下面说一下我的解决方案: 最重要的一点是本地maven配置没有更新 (settings.xml)

找到windows ———》Preferences--------->Maven4MyEclipse------》UserSetings————》UpdateSettings(前提是maven是配置好的)


此时pom.xml 错误信息消失, 找到报错的项目右键找到Maven4MyEclipse  右键Maven4MyEclipse—————UpdateProject

报错解决完毕

猜你喜欢

转载自blog.csdn.net/qq_36567024/article/details/80500153
今日推荐