Make sure that you aopc and run with the same version of aop. When you mention
Eclipse, if you mean that you are using the JBoss IDE, do not use this. The AOP
support is seriously behind the times
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049010#4049010
Thanks for your replying, but are you referring the running at loadtime
mechanism? I am using the pre-compiled mechanism.
| target name=aopc description=Precompile aop classes to local bin
| taskdef name=aopc classname=org.jboss.aop.ant.AopC
classpathref=aopclasspath/
|
The following might help.
http://wiki.jboss.org/wiki/Wiki.jsp?page=DebuggingJBossAOPInEclipse
It still looks to me like you are using different versions to aopc and run. Can
you post the full stack trace of what is calling getFieldWriteInterceptors()?
View the original post :
Yeah! you are absolutely right!!! it was cause by the aopc version differentce.
The story is like this:
I put all my jar libs in a so called extlib library which included
jboss-aop-jdk5.jar. The problem is that somehow my colleague put some of their
jars in there too, one of which is for jboss