这个写完总报错误,到底命令符应该在什么目录进行编译呢?还有是不是它的groupid 我得换?
我也是这个错误。。在使用maven搭建web项目的时候(#‵′)
[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
错误代码都没有贴出来,别人怎么知道你哪里错了