htmlcompressor
htmlcompressor copied to clipboard
Unable to use latest closure compiler
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 [email protected]
on 9 Nov 2013 at 10:53
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 [email protected]
on 16 Feb 2014 at 7:21
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 [email protected]
on 26 May 2014 at 1:43
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 [email protected]
on 26 May 2014 at 1:45