您的位置:首页 > 运维架构 > Apache

Eclipse使用Maven创建Web时错误:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webap

2016-03-30 10:50 537 查看
解决方案:

如果此方法还是创建不了,就可能是你的仓库的问题;

找到你的仓库,cmd命令

down
voteaccepted
Remove all your failed downloads:
find ~/.m2  -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;


For windows:
cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: