F:\study\ssm>mvn archetype:create -DgroupId=com.xcl -DartifactId=ssm -DarchetypeArtifactId=maven-archetype-webapp
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.maven.plugins:maven-archetype-plugin
Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Failed to resolve artifact, possibly due to a repository list that is not appropriately equipped for this artifact's metadata.
org.apache.maven.plugins:maven-archetype-plugin:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
for project org.apache.maven.plugins:maven-archetype-plugin
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Oct 09 15:06:09 GMT 2011
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
MAVEN创建一个java的web应用报错,请大侠帮忙看看
最新推荐文章于 2024-07-18 10:27:15 发布
本文详细介绍了在使用Maven创建Web应用时遇到的插件安装错误,并提供了解决方法。
1799

被折叠的 条评论
为什么被折叠?



