java.util.zip.ZipException: unknown compression method




Asked on April 17, 2013
Hi All,

While using InflaterOutputStream, I am getting below error.  

Exception in thread "main" java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterOutputStream.write(Unknown Source)
at java.util.zip.InflaterOutputStream.write(Unknown Source)
at com.test.B.main(B.java:19)

Any suggestion?



Replied on April 16, 2015
It seems that error is in compression method. You can follow the link below for the example to run InflaterOutputStream.




Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us