Thanks to Bob, I've found that I made an error and that I put the jelly
jar in the "root" classloader in the cactus plugin whereas it should
have been in the "maven.root" one as defined in forehead.conf.

Thanks
-Vincent

> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@;octo.com]
> Sent: 09 November 2002 13:28
> To: 'Turbine Maven Developers List'
> Subject: Plugin classloader problem... help!
> 
> Hi,
> 
> I am trying to add some custom Jelly Tags in the Cactus plugin. These
> tags need Jelly/Beanutils and Ant in the CP to compile and execute. I
> have thus added these libraries to the  Cactus plugin project.xml
> (putting them in the "root" CL).
> 
> However, the problem arise when I try to run use the plugin on a
sample
> project (the sample project that is in plugins-build/cactus/sample). I
> then get the following:
> 
> E:\Dev\jakarta-turbine-maven\src\plugins-build\cactus\sample>maven
> cactus:test-tomcat-4x
>  __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|   v. 1.0-beta-8
> 
> E:\Dev\jakarta-turbine-maven\src\plugins-build\cactus\sample
> 
> [ERROR] java.lang.reflect.InvocationTargetException
> [ERROR]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [ERROR]         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> [ERROR]         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java
> :25)
> [ERROR]         at java.lang.reflect.Method.invoke(Method.java:324)
> [ERROR]         at com.werken.forehead.Forehead.run(Forehead.java:543)
> [ERROR]         at
com.werken.forehead.Forehead.main(Forehead.java:573)
> [ERROR] Caused by: java.lang.IllegalAccessError: tried to access class
> org.apache.commons.jelly.tags
> .ant.AntTagLibrary$4 from class
> org.apache.commons.jelly.tags.ant.AntTagLibrary
> [ERROR]         at
>
org.apache.commons.jelly.tags.ant.AntTagLibrary.createCustomTagScript(An
> tTagLibra
> ry.java:208)
> [ERROR]         at
>
org.apache.commons.jelly.tags.jeez.JeezTagLibrary.createTagScript(JeezTa
> gLibrary.
> java:134)
> [ERROR]         at
>
org.apache.maven.app.MavenJeezTagLibrary.createTagScript(MavenJeezTagLib
> rary.java
> :103)
> [ERROR]         at
>
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1055)
> 
> [...]
> 
> Can someone help me to understand what it means and how I could solve
> this?
> 
> Thanks
> -Vincent
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-dev-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>

Reply via email to