Rodrigo-jf / htmlcompressor

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

Unable to use latest closure compiler #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
throws "java.lang.ClassNotFoundException: 
com.google.common.io.LimitInputStream" exception 

Stack trace for debug 

jsp threw exception" "java.lang.ClassNotFoundException: 
com.google.common.io.LimitInputStream
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        at com.googlecode.htmlcompressor.taglib.HtmlCompressorTag.doEndTag(HtmlCompressorTag.java:107)

Original issue reported on code.google.com by adithyan...@gmail.com on 9 Nov 2013 at 10:53

GoogleCodeExporter commented 9 years ago
The current clousre needs java 7. Does that help? Did you get it to work? I 
have a similar problem - 
https://code.google.com/p/htmlcompressor/issues/detail?can=2&start=0&num=100&q=&
colspec=ID%20Stars%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&grou
pby=&sort=&id=91

Original comment by lord....@gmail.com on 16 Feb 2014 at 7:21

GoogleCodeExporter commented 9 years ago
We've bitten by this bug now as well, the fix is apparently to just use a 
different inputstream with setLimit. Could we have a version 1.5.4 with such a 
fix in maven central?

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

GoogleCodeExporter commented 9 years ago
The deprecation notice in guava 14 said.

" Deprecated. Use ByteStreams.limit(java.io.InputStream, long) instead. This 
class is scheduled to be removed in Guava release 15.0."

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