eclispe 创建maven 项目:Could not resolve archetype org.apache.maven.archetypes
2024-08-31 20:28:54
昨天新装eclispe 后,创建maven工程后出现
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact
Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
网上的解决办法:
http://blog.csdn.net/u011340807/article/details/12649249
http://www.cnblogs.com/quanyongan/archive/2013/04/17/3025971.html
自己的解决办法:
修改了maven 仓库地址: 在maven 的conf目录下setting.xml配置文件中,修改仓库地址
<localRepository>/path/to/local/repo</localRepository> 修改自己对应的路径。
另一种错误:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
解决办法:
最新文章
- 【Win10开发】Toast通知——前台激活
- salesforce 零基础学习(二十二)Test简单使用
- dtw算法优化(重写C语言版本)
- MFC可编辑ListBox控件CEditableListBox
- jsp上传excel文件并导入数据库
- HDU 1253 (简单三维广搜) 胜利大逃亡
- visual assistent 过期
- callerloc
- Selenium终极自动化测试环境搭建(二):Selenium+Eclipse+Python
- HTML5 canvas 在线画笔绘图工具(一)
- Android和BLE模块连接通信
- 浅析Diffie–Hellman
- python简单的监控脚本-利用socket、psutil阻止远程主机运行特定程序
- Access数据库SQL注入(Access SQL Injection)
- 基于HTML5 WebGL实现 json工控风机叶轮旋转
- maven 阿里云 国内镜像 中央仓库
- C++的坑真的多吗?
- HAProxy压测及参数调优
- MySQL Crash Course #07# Chapter 15. 关系数据库. INNER JOIN. VS. nested subquery
- HttpClientUtil 工具类