elloralabs / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

java.lang.NoClassDefFoundError: com/google/common/io/LimitInputStream with 0.0.7 #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It looks like version 0.0.7 is using a version of Guava which doesn't include 
the LimitInputStream anymore.

https://code.google.com/p/closure-compiler/issues/detail?id=1113;

"The Guava LimitInputStream was marked deprecated in 14.0.1 and was removed in 
Guava 15.0.  The suggested replacement is ByteStreams.limit.  This problem 
prevents our uptake of Guava-Gwt 15.0."

Apparently, the fix is to use a different InputStream and use setLimit(). Can 
we have a 0.0.7a version with this fix?

Original issue reported on code.google.com by torgeir....@gmail.com on 26 May 2014 at 12:52

GoogleCodeExporter commented 8 years ago
Apologies, it looks like my problems are due to htmlcompressor, which I've used 
with webutilities, not webutilities itself. Please close this issue.

Original comment by torgeir....@gmail.com on 26 May 2014 at 1:23

GoogleCodeExporter commented 8 years ago
version 0.0.7 uses Guava 17.0. Also webutilities 0.0.7 code has no any direct 
dependency on LimitInputStream. To investigate it further can you please 
provide exact details to reproduce it? 

Do check if by any chance the old version of webutilities or other libs (that 
depends on older Guava) are in the classpath. 

I will investigate but please share exact steps so that I can reproduce it 
locally.

Original comment by rr.patil...@gmail.com on 26 May 2014 at 1:26

GoogleCodeExporter commented 8 years ago
No issues. Thanks for the update on this. Closing this.

Original comment by rr.patil...@gmail.com on 26 May 2014 at 1:27