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

来源:3-4 用Maven创建项目

谁的浮生乱了流年

2017-01-24 22:19

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

写回答 关注

3回答

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

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

    谁的浮生乱了...

    亲,你解决了么,我一直没解决

    2017-02-08 18:55:35

    共 1 条回复 >

  • 谁的浮生乱了流年
    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

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

    谁的浮生乱了...

    错误代码在下面了 大神 你知道是哪里错了么??

    2017-02-01 21:42:41

    共 1 条回复 >

Spring MVC起步

Java中Spring MVC框架入门教程,快来看最易用的MVC框架

195979 学习 · 572 问题

查看课程

相似问题