Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0 from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repository.apache.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of maven-archetype-webapp-repo has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to maven-archetype-webapp-repo (https://repository.apache.org/content/groups/public): repository.apache.org
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repository.apache.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of maven-archetype-webapp-repo has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to maven-archetype-webapp-repo (https://repository.apache.org/content/groups/public): repository.apache.org
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of apache has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to maven-archetype-webapp-repo (https://repository.apache.org/content/groups/public): repository.apache.org
Failure to transfer org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of apache has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:1.0 from/to maven-archetype-webapp-repo (https://repository.apache.org/content/groups/public): repository.apache.org
网上相似错误,那个地址都是本地仓库,而我的显示是远程仓库地址,远程地址在浏览器也能直接访问到,也在settings.xml里加了代理。不管怎么弄,它就一直这个错误,求帮助
本地出现了错误,把当前用户的~/.m2/org/apache/maven/archetypes/下的对应文件删除,重新下载一次就好了
这个方法试过的,不行