zoukankan      html  css  js  c++  java
  • 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" 
    问题解决。
     
    网上没搜到相关信息,故留下记录。
  • 相关阅读:
    input 蓝边
    4.【ac自动机】模式串匹配
    3.【二叉树】最近公共祖先
    2.【动态规划】最长回文子串
    1. 【线段树】
    DbUtil
    oauth2
    cas
    Spring-security-web
    JSON Web Tokens
  • 原文地址:https://www.cnblogs.com/2005wind/p/4915036.html
Copyright © 2011-2022 走看看