优艾设计网

idea 创建maven项目一直失败,什么原因?build一直不行。。?

优艾设计网 https://www.uibq.com 2023-04-16 19:53 出处:网络 作者:PS教程
D:softwarejdk1.8.0_60injava \"-Dmaven.home=D:softwareideaIntelliJ IDEA 2016.2.4pluginsmavenlibmaven3\" \"-Dclassworlds.conf=D:softwareideaIntelliJ IDEA 2016.2.4pluginsmavenlibmaven3inm2.conf\" -Dfile.

D:softwarejdk1.8.0_60injava "-Dmaven.home=D:softwareideaIntelliJ IDEA 2016.2.4pluginsmavenlibmaven3" "-Dclassworlds.conf=D:softwareideaIntelliJ IDEA 2016.2.4pluginsmavenlibmaven3inm2.conf" -Dfile.encoding=UTF-8 -classpath "D:softwareideaIntelliJ IDEA 2016.2.4pluginsmavenlibmaven3ootplexus-classworlds-2.4.jar" org.codehaus.classworlds.Launcher -Didea.version=2016.2.4 -s D:softwareapache-maven-3.3.9confsettings.xml -DinteractiveMode=false -DgroupId=com.salamander -DartifactId=backcal -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=RELEASE -DarchetypeCatalog=internal org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate [INFO] Scanning for projects... [INFO][INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO][INFO] >>> maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom >>> [INFO][INFO] <<< maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom <<< [INFO][INFO] --- maven-archetype-plugin:2.4:generate (default-cli) @ standalone-pom --- Downloading: http://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26.608s [INFO] Finished at: Fri Nov 04 13:57:08 CST 2016 [INFO] Final Memory: 9M/155M [INFO] ------------------------------------------------------------------------ [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 goal org.apache.maven.plugins:maven-arche优艾设计网_设计百科type-plugin:2.4:generate failed: Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies could not be resolved: Could not transfer artifact org.codehaus.groovy:groovy:jar:1.8.3 from/to central (http://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:80 [repo.maven.apache.org/151.101.36.215] failed: Connection timed out: connect -> [Help 1] [ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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 read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [ERROR] Maven execution terminated abnormally (exit code 1)

一直build就出错。。。。


617天才淋 优艾设计网_Photoshop百科 2022-06-14 06:55

错误不是说你下载http://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar没下载下来吗?配一个镜像吧。


u_9781819优艾设计网_Photoshop问答0 2022-06-14 07:15

~/.m2/settings.xml中配置上面的镜像,速度刷...刷...刷...的。


0

精彩评论

暂无评论...
验证码 换一张
取 消