您的位置:首页 > 其它

idea 创建maven web 项目时报错

2016-12-17 08:44 309 查看
"C:\Program Files (x86)\Java\jdk1.7.0_17\bin\java" -Dmaven.multiModuleProjectDirectory=C:\Users\shixueen\AppData\Local\Temp\archetypetmp -Xms1024m -Xmx4096m -Dmaven.home=E:\software_own\maven\apache-maven-3.3.9 -Dclassworlds.conf=E:\software_own\maven\apache-maven-3.3.9\bin\m2.conf
-Dfile.encoding=UTF-8 -classpath E:\software_own\maven\apache-maven-3.3.9\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2016.3 -s E:\software_own\maven\apache-maven-3.3.9\conf\settings.xml -DinteractiveMode=false -DgroupId=Resangularboo-tbootstrap
-DartifactId=tbootstrap-res -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=RELEASE org.apache.maven.plugins:maven-archetype-plugin:RELEASE:generate

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

Invalid maximum heap size: -Xmx4096m

The specified size exceeds the maximum representable size.

[ERROR] Maven execution terminated abnormally (exit code 1)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息