Hi, LTW weaving, snapshot aspectJ dev build of 03 February 2011 ( but same behaviour with others versions). I don't use Spring AOP agent, i use aspectjweaver "native" javaagent. does this Exception mean anything to you ? With a execution pointcut no problem because thisJoinPointStaticPart and thisEnclosingJoinPointStaticPart.getSourceLocation() are the same JoinPoint. Whit call pointcut, when thisEnclosingJoinPointStaticPart.getSourceLocation() runs i get this exception 10:01:44,337 ERROR ContextLoader(215) - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostPr ocessor#0' defined in ServletContext resource [/WEB-INF/jpaDaoContext.xml]: Init ialization of bean failed; nested exception is org.springframework.beans.factory .BeanCreationException: Error creating bean with name 'myEntityManagerFactory' d efined in ServletContext resource [/WEB-INF/jpaDaoContext.xml]: Invocation of in it method failed; nested exception is java.lang.NoSuchMethodError: org.aspectj.r untime.reflect.Factory.makeESJP(Ljava/lang/String;Ljava/lang/String;Ljava/la ng/S tring;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Strin g;I) Lorg/aspectj/lang/JoinPoint$EnclosingStaticPart; at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:164) at org.springframework.context.support.AbstractApplicationContext.getBea n(AbstractApplicationContext.java:880) at org.springframework.context.support.AbstractApplicationContext.regist erBeanPostProcessors(AbstractApplicationContext.java:596)
Cordialement / Best regards Jean-Louis PASTUREL ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ********************************
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users