http://www.cnblogs.com/-xuzhankun/p/6627424.html教程
"C:\Program Files\Java\jdk1.8.0_60\bin\java" -Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\AppData\Local\Temp\archetypetmp -Dmaven.multiModuleProjectDirectory=$M2_HOME -Dmaven.home=E:\maven\apache-maven-3.3.9 -Dclassworlds.conf=E:\maven\apache-maven-3.3.9\bin\m2.conf -Dfile.encoding=UTF-8 -classpath E:\maven\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.2.2 -s E:\maven\apache-maven-3.3.9\conf\settings.xml -DskipTests=true -DinteractiveMode=false -DgroupId=cn.deyou.demo1 -DartifactId=spring_b_m -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] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---
[WARNING] Error injecting: org.apache.maven.archetype.common.DefaultPomManager
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at java.lang.Class.getDeclaredMethods0(Native Method)
........
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
[WARNING] Error injecting: org.apache.maven.archetype.creator.FilesetArchetypeCreator
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at java.lang.Class.getDeclaredMethods0(Native Method)
........
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
[WARNING] Error injecting: org.apache.maven.archetype.DefaultArchetypeManager
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
.............................