Yep, also found that, but doesn't seem to be the problem here, at least
I can't find it...

When I run "mvn dependency:tree" I only see 1 occurence for rhino:

+- org.mozilla:rhino:jar:1.7R3:compile

which is in the tapestry-wro4j branch


On 28/03/14 17:51, Michael Gentry wrote:
> A quick Google search found this, which might help:
>
> https://groups.google.com/forum/#!msg/wro4j/LYmnDGEgyLI/5ibuL33Scp0J
>
>
>
> On Fri, Mar 28, 2014 at 11:24 AM, Nathan Quirynen <
> [email protected]> wrote:
>
>> 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 <[email protected]>
>> 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: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to