Problem creating zip: Execution exce ption (and the archive is probably corrupt but I could not delete it): Java heap space -> [Help 1]

今天mvn编译的时候报错:

 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.
5.5:single (make-assembly) on project common-transform: Failed to create assembl
y: Error creating assembly archive package: Problem creating zip: Execution exce
ption (and the archive is probably corrupt but I could not delete it): Java heap
 space -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (make-assembly) on pr
oject common-transform: Failed to create assembly: Error creating assembly archi
ve package: Problem creating zip: Execution exception (and the archive is probab
ly corrupt but I could not delete it) 
 
查看错误信息,java heap space 。再对比成功的版本,配置都一样就只有java版本不对,然后升级了了版本
 java version "1.6.0_43" 
问题解决。
 
网上没搜到相关信息,故留下记录。
上一篇:Hadoop技术在商业智能BI中的应用


下一篇:Long类源码浅析