Thanks for the hint Apparently another dependency was pulling in commons-io:commons-io:1.4, while tapestry-wro4j needs 2.2.
So I added following to my pom: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.2</version> </dependency> Which made the error disappear, but gave me the next error: .... Caused by: java.lang.IllegalArgumentException: Bad language version: 180 at org.mozilla.javascript.Context.checkLanguageVersion(Context.java:772) at org.mozilla.javascript.Context.setLanguageVersion(Context.java:741) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.createContext(RhinoScriptBuilder.java:66) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.<init>(RhinoScriptBuilder.java:41) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.<init>(RhinoScriptBuilder.java:36) at ro.isdc.wro.extensions.script.RhinoScriptBuilder.newClientSideAwareChain(RhinoScriptBuilder.java:221) at ro.isdc.wro.extensions.processor.support.less.LessCss.initScriptBuilder(LessCss.java:46) ... 113 more Guess I'll have to dig deeper in the dependency tree... I wish I could use Tapestry 5.4 already with built in features like Less, Bootstrap, ...! On 28/03/14 16:09, Andreas Fink wrote: > Hi. > > This is probably just a missing dependency to commons-io > http://search.maven.org/#artifactdetails|org.apache.commons|commons-io|1.3.2|jar > > I used tapestry-wro4j before, just for combining and minifying, without > issues. > > Cheers, > Andi. > > On 28 Mar 2014, at 15:59 , Nathan Quirynen <nat...@pensionarchitects.be> > wrote: > >> Hi, >> >> Is someone using tapestry-wro4j (0.9.8) with Tapestry 5.3.7 ? >> >> I just wanted to use it for Less transformer. >> >> I added the dependency in pom.xml: >> >> <dependency> >> <groupId>com.github.lltyk</groupId> >> <artifactId>tapestry-wro4j</artifactId> >> <version>0.9.8</version> >> </dependency> >> >> Then I added a file named "main.less" at location src/main/webapp/css/ >> >> and added following to my page class: >> >> @Import(stylesheet = { "context:css/main.less" }) >> >> But get the following error: >> >> .... >> Caused by: java.lang.ClassNotFoundException: >> org.apache.commons.io.input.BOMInputStream >> at >> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) >> at >> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) >> at >> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) >> at >> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:401) >> at >> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363) >> ... 110 more >> >> Someone who's using this library sucessfully and sees what I am doing >> wrong here? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org