问答详情
源自:3-4 用Maven创建项目

这行代码,打完了,总报错误

588761e300018a1e12800720.jpg
这个写完总报错误,到底命令符应该在什么目录进行编译呢?还有是不是它的groupid 我得换?

提问者:谁的浮生乱了流年 2017-01-24 22:19

个回答

  • 新睿1st
    2017-02-03 15:57:50

    我也是这个错误。。在使用maven搭建web项目的时候(#‵′)

  • 谁的浮生乱了流年
    2017-02-01 21:41:39

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2

    .4:generate (default-cli) on project standalone-pom: Execution default-cli of go

    al org.apache.maven.plugins:maven-archetype-plugin:2.4:generate failed: Plugin o

    rg.apache.maven.plugins:maven-archetype-plugin:2.4 or one of its dependencies co

    uld not be resolved: The following artifacts could not be resolved: org.codehaus

    .groovy:groovy:jar:1.8.3, org.apache.ant:ant:jar:1.8.1: Could not transfer artif

    act org.codehaus.groovy:groovy:jar:1.8.3 from/to UK (http://uk.maven.org/maven2)

    : GET request of: org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar from UK fail

    ed: Read timed out -> [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/PluginResoluti

    onException


  • qq_呼啸一阵风_0
    2017-01-26 19:31:46

    错误代码都没有贴出来,别人怎么知道你哪里错了