java.io.IOException: This archive has already been finished

简介: java.io.IOException: This archive has already been finished at org.apache.commons.compress.

java.io.IOException: This archive has already been finished
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:406)
at com.xunge.AESFileEncoder.unzip(AESFileEncoder.java:212)
at com.xunge.AESFileEncoder.unzip(AESFileEncoder.java:80)
at com.xunge.AESFileEncoder.main(AESFileEncoder.java:370)

出现这个问题是因为之前已经调用过.finish()方法了,后来又调用,就会产生这个异常。

目录
相关文章
|
网络协议 Java Shell
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
1353 7
|
Java
JAVA 端口被占用 报错解决方案:java.net.BindException: Address already in use: bind
JAVA 端口被占用 报错解决方案:java.net.BindException: Address already in use: bind
1500 0
|
Web App开发 Java Apache
java.lang.IllegalStateException: getOutputStream() has already been called for this response
https://stackoverflow.com/questions/33982515/handlerinterceptor-getoutputstream-has-already-been-called-for-this-response http://blog.
4410 0
|
Java
springboot 异常java.net.BindException: Address already in use: bind
springboot 异常java.net.BindException: Address already in use: bind
949 0
【已解决】java.lang.RuntimeException: A broker is already registered on the path /brokers/ids/235. This p
【已解决】java.lang.RuntimeException: A broker is already registered on the path /brokers/ids/235. This p
234 0
java.net.BindException: Address already in use: 解决方法
java.net.BindException: Address already in use: 解决方法
1971 0
|
Java API
SpringBoot报错:java.lang.IllegalStateException: getReader() has already been called for this request
SpringBoot报错:java.lang.IllegalStateException: getReader() has already been called for this request
1832 0
|
Oracle 关系型数据库 应用服务中间件
java.net.BindException: Address already in use: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
693 0
|
缓存 Java
f you already have a JDK installed, define a JAVA HOME variable in Computer > System Properties > Sy
f you already have a JDK installed, define a JAVA HOME variable in Computer > System Properties > Sy
1631 0
f you already have a JDK installed, define a JAVA HOME variable in Computer > System Properties > Sy
|
Java Nacos
java:nacos集群部署报错Address already in use
java:nacos集群部署报错Address already in use
713 0