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 18:23:26 GMT
Not sure what is going on, "it works for me", and if the classes are
getting shadowed properly, they should be inside the xwork jar.

On Wed, Jul 29, 2009 at 11:20 AM, Lukasz
Lenart<lukasz.lenart@googlemail.com> wrote:
> 2009/7/29 Musachy Barroso <musachy@gmail.com>:
>> 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.
>
> Right now is complaining about that:
>
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.078
> sec <<< FAILURE!
> testActionPackages(org.apache.struts2.convention.PackageBasedActionConfigBuilderTest)
>  Time elapsed: 0.062 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/objectweb/asm/xwork/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.xwork.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