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)
-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)
相关文章推荐
- Intellij IDEA Maven创建web项目
- 从零开始写javaweb框架笔记1-使用IDEA创建Maven项目
- maven安装过程和用IDEA创建maven的web项目
- idea创建maven的web项目
- 【Maven】—使用Idea创建maven webapp项目遇到的问题总结
- idea创建maven项目(web)
- Intellij IDEA +Maven创建Web项目
- 用idea创建一个maven web项目
- idea 创建maven webapp项目(1)
- IntelliJ IDEA 12创建Maven管理的Java Web项目(图解)
- 使用Eclipse自带的Maven插件创建Web项目时报错: Could not resolve archetype org.apache.maven.archetypes:maven-arche
- 使用Eclipse自带的Maven插件创建Web项目时报错:Could not resolve archetype org.apache.maven.archetypes:maven-archetyp
- 使用Eclipse自带的Maven插件创建Web项目时报错:
- IntellJ Idea创建Maven Jetty Web项目
- Eclipse/IDEA中使用Maven创建Web项目报错
- 使用 IDEA 创建 Maven Web 项目 (异常)- Disconnected from the target VM, address: '127.0.0.1:59770', transport: 'socket'
- IDEA之web项目(maven项目)创建
- idea 创建maven web 项目
- 使用Eclipse自带的Maven插件创建Web项目时报错:
- 使用Eclipse自带的Maven插件创建Web项目时报错: