首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >intelli idea:maven导入jre包出问题,建立不了项目。怎么回事?

intelli idea:maven导入jre包出问题,建立不了项目。怎么回事?

提问于 2020-06-30 14:22:38
回答 0关注 0查看 274

"C:\Program Files\Java\jdk1.8.0_221\bin\java.exe" -Dmaven.multiModuleProjectDirectory=C:\Users\alfred\AppData\Local\Temp\archetype11tmp -Dmaven.home=D:\apache-maven-3.5.0 -Dclassworlds.conf=D:\apache-maven-3.5.0\bin\m2.conf -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2018.3.6 -s D:\apache-maven-3.5.0\conf\settings.xml -DinteractiveMode=false -DgroupId=asdasd -DartifactId=asdasddasd -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate

[WARNING]

[WARNING] Some problems were encountered while building the effective settings

[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...<id>alimaven</id>\n\ua0 \ua0 \ua0 <n... @156:9) @ D:\apache-maven-3.5.0\conf\settings.xml, line 156, column 9

[WARNING] expected START_TAG or END_TAG not TEXT (position: TEXT seen ...<id>alimaven</id>\n\ua0 \ua0 \ua0 <n... @156:9) @ D:\apache-maven-3.5.0\conf\settings.xml, line 156, column 9

[WARNING]

[INFO] Scanning for projects...

Downloading: http://maven.aliyun.com/nexus/content/groups/public/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml from/to alimaven (http://maven.aliyun.com/nexus/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 2.074 s

[INFO] Finished at: 2020-06-30T14:07:15+08:00

[INFO] Final Memory: 12M/155M

[INFO] ------------------------------------------------------------------------

[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Failed to resolve version for org.apache.maven.plugins:maven-archetype-plugin:jar:RELEASE: Could not find metadata org.apache.maven.plugins:maven-archetype-plugin/maven-metadata.xml in local (D:\maven-repository) -> [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)

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档