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

新接触Maven 就遇到报错could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstrat:1.1

2015-11-12 11:16 639 查看
刚使用maven就报错,纠结了好久,得到解决,希望我的分享能帮助您!

could not resolve archetype

org.apache.maven.archetypes:maven-archetype-quickstrat:1.1 from any of the configured repositories



步骤:

1、连接好网络

2、打开 eclipse ->点击window -> 选中preferenes ->左边选中maven -> 点击user setting  —> 右边拷贝 Local Rrepository 地址

3、关闭eclipse ,

4、去计算机,黏贴已经复制的地址,如果是:C:\Users\Administrator\.m2\repository,直接去到C:\Users\Administrator

5、删除两个文件  .eclipse  和 .m2 

6、重新打开eclipse,连接好网络,就可以正常创建项目,正常使用,被删除的文件夹,会自动的创建回去。不用担心

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