I guess JBIInterceptorAspect$19 is an anonymous inner class your aspect
since any types generated as part of weaving would have ajc$ prefixes or
$AjcClosure in the name.  Is it always the same class that cannot be found
or does it vary?  It is true in shutdown mode that new codepaths may be
executed that cause types to load and load-time weaving will attempt to
process them, but unless the appserver has done something to prevent it, the
loading and weaving should be OK.

Is there an ajcore file alongside this problem? ie. is it triggered during
weaving.  or does it just appear to be an ordinary NoClassDefFoundError
thrown by the app server?

Andy.

2009/1/19 Jason Weinstein <[email protected]>

>
> In certain situations i am getting a NoClassDefFoundError related to
> finding the woven aspect code. I am using LTW.
>
> Would anyone have any ideas on what situations this could arise??
>
> Most often this exception does not arise. However during shutdown of
> appserver, i have seen this exception quite often. However i have now seen
> this exception also occur not during shutdown.
>
> method threw a java.lang.NoClassDefFoundError exception.
> Caused
> by:(JBIMA0000)net/java/dev/moca/soa/jbi/aspects/example/JBIInterceptorAspect$19.
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to