1.忘记在eclipse中配置maven
报错:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed
to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from
网上找到解决方案:
a、确认你电脑上MyEclipse有配置maven;
b、配置了maven,查看你maven的setting.xml,看看你的资源中央库的路径是否正确
检查自己配置,发现eclipse中没有配置maven
配置方法:windows--->preference---->maven----->installations、user settings
配置完以上之后,发现编译工程报如下错误:
An internal error occurred during: "Updating Maven Project".
Unsupported IClasspathEntry kind=4
解决方法如下:
在工程上右键单击--->maven----->disable maven nature----->到工程所在主目录下命令行中执行 mvn eclipse:clean----->返回eclipse中工程上右键----->configure------>convert to maven project
问题解决!
本文介绍了在Eclipse中配置Maven的方法,并解决了由于未配置Maven导致的maven-compiler-plugin找不到的问题。此外,还提供了解决因配置不当引起的内部错误Unsupported IClasspathEntrykind=4的方法。
1万+

被折叠的 条评论
为什么被折叠?



