使用Eclipse创建Maven项目报错

秒速五厘米 2022-08-07 13:50 284阅读 0赞

今天使用Eclipse新建Maven项目时报错,错误日志如下:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
Could not write artifact lastUpdated status
Q:\repository\org\apache\maven\archetypes\maven-archetype-webapp\RELEASE\m2e-lastUpdated.properties (系统找不到指定的路径。)错误截图

解决办法:
经检查,发现setting.xml中的本地仓库路径配置出错( 标签),修改路径,指向本地仓库地址即可。

友情链接:http://www.tuicool.com/articles/MbQviqE 该链接错误与本人错误相似,但是本质上不一样,可学习参考

发表评论

表情:
评论列表 (有 0 条评论,284人围观)

还没有评论,来说两句吧...

相关阅读