Hi Guadalupe,
can you post the entire exception stack trace? It could be that the return type of your around advice is not compatible with the return type of the adviced methods.

Simone

Guadalupe Ortiz wrote:
Hi all,
I have tested LTW with a Web service and worked perfectly well when the operation intercepted in the joinpoint returned a basic type (such as a String). However when the operation returns a complex type defined by the user and I include an around advice in the aspect, I get an error. The error is "java.lang.reflect.InvocationTargetException". (When doing it with compile time weaving it works) I have tried to include the classes in the classpath when creating the jar and I have also created the jar also compiling the classes. In any case I get the same error. I guess it shouldnt be dificult to do this and I am probably missing a silly step. Thanks a lot for your help, Guadalupe
------------------------------------------------------------------------

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


--
Simone Gianni            CEO Semeru s.r.l.           Apache Committer
http://www.simonegianni.it/

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

Reply via email to