struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: Missing class
Date Wed, 29 Jul 2009 17:56:19 GMT
It works for me, one thing that is weird, it should be complaining
about not finding the shadowed class, like
"org/objectweb/asm/xwork/ClassVisitor" instead of the original class
"org/objectweb/asm/ClassVisitor". Check your xwork jars and see if the
shadowed classes are there.

On Wed, Jul 29, 2009 at 10:22 AM, Lukasz
Lenart<lukasz.lenart@googlemail.com> wrote:
> 2009/7/29 Musachy Barroso <musachy@gmail.com>:
>> did you update/build convention?
>
> Yes, I updated it but when tried to install two tests are falling:
>
> testActionPackages(org.apache.struts2.convention.PackageBasedActionConfigBuilderTest)
>  Time elapsed: 0.078 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
>        at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:343)
>        at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:308)
>        at org.apache.struts2.convention.PackageBasedActionConfigBuilderTest.run(PackageBasedActionConfigBuilderTest.java:318)
>        at org.apache.struts2.convention.PackageBasedActionConfigBuilderTest.testActionPackages(PackageBasedActionConfigBuilderTest.java:99)
> Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>        at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>        ... 30 more
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message