JAVA应用IDEA 创建Maven webapp项目,没有生成src相关目录

一、设置-archetypeCatalog=internal
在这里插入图片描述
在这里插入图片描述
二、WEB项目,加入设置
在这里插入图片描述
在这里插入图片描述

"D:\Program Files\Java\jdk1.8.0_66\bin\java" -Dmaven.multiModuleProjectDirectory=C:\Users\zs\AppData\Local\Temp\archetype2tmp -Dmaven.home=E:\apache-maven-3.3.9 -Dclassworlds.conf=E:\apache-maven-3.3.9\bin\m2.conf -Dfile.encoding=UTF-8 -classpath E:\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.1.4 -s E:\apache-maven-3.3.9\conf\settings.xml -DinteractiveMode=false -DgroupId=com.zs.webapp -DartifactId=com.zs.webapp -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.216 s [INFO] Finished at: 2017-06-14T17:00:24+08:00 [INFO] Final Memory: 5M/121M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-archetype-plugin:RELEASE (C:\Users\zs\.m2\repository\org\apache\maven\plugins\maven-archetype-plugin\3.0.1\maven-archetype-plugin-3.0.1.jar): error in opening zip file -> [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/PluginDescriptorParsingException [ERROR] Maven execution terminated abnormally (exit code 1)
©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页