创建maven项目的时候:Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories. 解决办法

问题: 

https://yq.aliyun.com/ziliao/364921      尝试没成功。

https://www.aliyun.com/jiaocheng/296712.html   尝试没成功。

               如果还是不能创建或者问题没有解决可以安装下面的方法:

    • 1.删除maven已经下载的文件路径:.m2/repository/org/apache/maven

      删除之后再试下,这时候如果看到有进度,只需要耐心等待就行了

    • 以上是

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

        的内容
        红色部分内容解决问题。

猜你喜欢

转载自www.cnblogs.com/william-dai/p/10021631.html