[3.7.0] Error HTMLCompressor

Error Type: java.lang.NoSuchMethodError : 0

Error Messages: org.mozilla.javascript.Parser.parse(Ljava/io/Reader;Ljava/lang/String;I)Lorg/mozilla/javascript/ScriptOrFnNode;

102

/public_html/modules/HTMLCompressor/plugins/Compressor.cfc

I have been running with this error everytime I try to enable the HTMLCompressor module, any of you guys can guess what is this error all about? :frowning:

RUNNING:
Railo 4.1.1.008 final

Thanks

Well, in short-- it means Java can’t find a method with that declaration. Specifically, it can’t find a method called “parse” in in the “org.mozilla.javascript.Parser” class that accepts a Reader, String, and int, in that order, and returns a ScriptOrFnNode obejct.

Is there an older version of the jar kicking around your classpath? Check what jars the plugin loads and try to see if they’re loading correct and if there are any other copies of them floating around your install.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks Brad :wink: