刚使用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,连接好网络,就可以正常创建项目,正常使用,被删除的文件夹,会自动的创建回去。不用担心
希望能帮组您!!