Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Can methods of POJO be advised?

  1. #11

    Default

    Did you put META-INF/aop.xml in the right place? I think I have encountered the same problem before...
    At first I put META-INF/aop.xml in WebRoot/META-INF/aop.xml, but it can't be found. Then I put META-INF/aop.xml into the src folder, and it worked.
    I'm not sure whether it is the same problem...

  2. #12
    Join Date
    Oct 2008
    Posts
    12

    Default

    I put in classification\src\main\webapp\META-INF\aop.xml
    I'm using maven.

  3. #13
    Join Date
    Oct 2008
    Posts
    12

    Default

    This is not my problem because I set to aspectJ to generate a message and the messange was printed.

    <weaver options="-verbose -showWeaveInfo -XmessageHandlerClass:org.springframework.aop.aspec tj.AspectJWeaverMessageHandler">

  4. #14
    Join Date
    Oct 2008
    Posts
    12

    Default

    My problem was only version. I updated maven dependencies to 2.5.5 and xxaspectxx to 1.6 then finally it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •