[jboss-user] [JBoss AOP] - Re: NoSuchMethodError: org.jboss.aop.ClassAdvisor$1
do-not-reply at jboss.com
Tue Dec 2 05:07:07 EST 2008
I had exactly the same problem :)
The problem is here:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.jboss.ao
You have the AspectManager class 2 times in your classpath.
The first one is in your jbossall-client.jar and the second one in your jboss-aop.jar
But the one in the jbossall-client.jar is wrong. It has not the needed methods. Change your classpath order so that the jboss-aop.jar is found before your jbossall-client.jar. Now the correct AspectManager class is used and your problem is gone.
Maybe there is a better way to fix it, but it works for now ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193690#4193690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193690
More information about the jboss-user