maven问题

枫醉秋 2012-08-14 11:46:49
运行
mvn archetype:generate
[ERROR] No plugin found for prefix 'archetype' in the current project and in the
plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the
repositories [local (C:\Users\si.chongqing\.m2\repository), central (http://repo
.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF
orPrefixException
出错
各位大侠帮忙解决一下
我们的网络是有域的
...全文
414 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
camelt 2012-09-11
  • 打赏
  • 举报
回复
maven的配置文件,这个部分,
http://repo
.maven.apache.org/maven2改了,就是下面这个部分:

-<mirror> <id>visionsoft</id> <mirrorOf>central</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://repo1.maven.org/maven2</url> </mirror>
camelt 2012-09-11
  • 打赏
  • 举报
回复
http://repo1.maven.org/maven2
把配置文件里面的服务器地址改成这个。
sust2012 2012-08-15
  • 打赏
  • 举报
回复
是不是没有配置maven-home,我试了一下,我的好着呢
枫醉秋 2012-08-14
  • 打赏
  • 举报
回复
没人回,自己结贴了
枫醉秋 2012-08-14
  • 打赏
  • 举报
回复
哎,怎么没有呢

50,526

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧