Closed Tzrlk closed 10 years ago
This is very likely caused by an old Rhino version in your classpath. The library is tested against "Rhino 1.7 release 4 2012 06 18".
I don't know why an old version of Rhino would be on the classpath. I've got the rhino-1.7R4 artefact being brought in (maven build), so it reporting 1.6 on the console, and referencing everything from the 1.7 jar is a little confusing. Though it does look like my IDE is doing some stupid caching. I'll update again when I've looked into it further.
Found it. com.yahoo.platform.yui:yuicompressor
brings in rhino:js:jar:1.6R7
.
I encountered this exception after upgrading from 1.3.0 (where imports didn't work), to 1.5.1.