Announcement Announcement Module
Collapse
No announcement yet.
AOP config problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AOP config problem

    Hi,

    I tried to implement the sample code of spring 2.0.2, but I found I couldn't.

    the problem occured during parsed below xml code

    <aop:advisor pointcut="execution(* *..PetStoreFacade.*(..))" advice-ref="txAdvice"/>

    the error is:

    java.lang.NoSuchMethodError: java.lang.Class.isAnonymousClass()Z
    at org.aspectj.weaver.reflect.Java15ReflectionBasedRe ferenceTypeDelegate.isAnonymous(Java15ReflectionBa sedReferenceTypeDelegate.java:337)
    at org.aspectj.weaver.ReferenceType.isAnonymous(Refer enceType.java:175)
    at org.aspectj.weaver.patterns.WildTypePattern.matche sExactly(WildTypePattern.java:237)
    at org.aspectj.weaver.patterns.WildTypePattern.matche sExactly(WildTypePattern.java:227)
    at org.aspectj.weaver.patterns.TypePattern.matchesSta tically(TypePattern.java:121)
    at org.aspectj.weaver.patterns.SignaturePattern.match esExactlyMethod(SignaturePattern.java:375)
    at org.aspectj.weaver.patterns.SignaturePattern.match esExactly(SignaturePattern.java:325)
    at org.aspectj.weaver.patterns.SignaturePattern.match es(SignaturePattern.java:289)
    at org.aspectj.weaver.patterns.KindedPointcut.matchIn ternal(KindedPointcut.java:106)
    at org.aspectj.weaver.patterns.Pointcut.match(Pointcu t.java:146)


    Who can help me?

    Thanks
Working...
X