Hi,

 

I am using LTW in OSGi (equinox) environment. I am using
eclipse.equinox.aspectj project to do this. 

 

However I am getting an exception 

 

Caused by: java.lang.NoSuchMethodError:
com.arisglobal.aglite.aop.EntityAuditAspect.aspectOf()Lcom/arisglobal/ag
lite/aop/EntityAuditAspect;

            at com.arisglobal.aglitepq.entity.Emp.getDept(Emp.java:113)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at
org.directwebremoting.extend.PropertyDescriptorProperty.getValue(Propert
yDescriptorProperty.java:72)

 

I have defined the EntityAuditAspect using @Aspect annotation and have
defined the aspect in the aop.xml. 

 

I have checked that the target class is getting weaved fine and see that
the call to aspectOf method of EntityAudit aspect is getting generated
in the resulting byte code. However this method doesn't exist in my
aspect class.

 

I am sure this exception has been resolved long back. However I am not
able to figure out why would this occur in my case?

 

Could somebody please throw some light on this?

 

Thanks,

Shashi

 

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to