[jboss-user] [JBoss AOP] - Re: unable to resolve an AOP IllegalArgumentException

kabir.khan@jboss.com do-not-reply at jboss.com
Wed May 30 09:40:59 EDT 2007


In my experience, this error cannot occur unless your classes have already been woven with a really old version of AOP (as in the IDE) and deployed in jboss with a different version. Two things to try to check if this is happening

1) Run with EnableLoadtimeWeaving=false. If you still get the same error, your classes have been woven.

2) Go to the root directory of where your compiled classes are/where they are put into the .war and execute:
$javap org.acme.Foo
(substituting org.acme.Foo with the name of one of your woven classes that you want to check). If the class implements the Advised interface it has already been woven.

I am not familiar with the AOP IDE and AOP Builder, but here's a thought  you might have the AOPC'ed classes hanging around in your project's output folder, with no rebuild having been done after removing the AOP Builder. Do a Project/Clean in Eclipse and see if that helps.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049724#4049724

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049724



More information about the jboss-user mailing list