zeroturnaround / zt-zip

ZeroTurnaround ZIP Library
http://www.zeroturnaround.com/
Apache License 2.0
1.38k stars 252 forks source link

ZipUtil cannot be resolved even I have added its maven dependency #145

Closed SK-Yang closed 2 years ago

SK-Yang commented 2 years ago

My eclipse cannot resolve the example that is written in readme.md.

It will just tell me "ZipUtil cannot be resolved to a type", and I have done of add it into pom and do maven update. My other dependencies like httpclient and Gson are fine, so I suppose there is something wrong with those examples?

toomasr commented 2 years ago

Can you share the pom.xml or the zt-zip dependency part of it?

slandelle commented 2 years ago

You should make sure the zt-zip dependency in your local maven cache isn’t corrupted. Remove it and re-trigger the download.

SK-Yang commented 2 years ago

After restart the Eclipse, it seem like it can resolve its package name again. Well, it's Eclipse...