« Return to Thread: Grails and Spring AOP

Re: Re: Grails and Spring AOP

by Rob Hunter :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
I had the same issue and resolved it by creating an interface which my class then implemented.

Regards

Rob
Matthias <m.kaeppler <at> gmail.com> writes:
  
Hi,

I am desperately trying to make Spring AOP work in my Grails project. I define
an advice on a service method, which works fine, but as soon as the pointcut 
matches and the advice is executed, Grails throws an exception:

"java.lang.IllegalArgumentException: object is not an instance of declaring
class"

[...]

    

Hi guys,

I still haven't solved this puzzle. Surely anyone has more experience with this
than I do?

Any help appreciated!

Best,
Matthias


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


  

 « Return to Thread: Grails and Spring AOP