eclipse maven 配置遇到的问题

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

 

问题解决!

转载于:https://my.oschina.net/crazybird/blog/782840

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值