In java, download the file and compress the file according to url, but the decompression error occurred.

problem description

In

java, download the file according to url, then compress the file, and decompress the file. However, if you delete the compressed file at this time, then rerun the program, and then extract the file, you will be able to extract it successfully.

the environmental background of the problems and what methods you have tried

check the program. I don"t know what went wrong.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
the source code is as follows:

what result do you expect? What is the error message actually seen?

can extract the file correctly

Mar.25,2021
Menu