Problem in AOP configuration seems to be invalid
When I try to log somme function in my Dao CLASS using Log4j, I have an exception: The error: Exception in thread "main" org.springframework.aop.AopInvocationException: AOP configuration seems to be invalid: tried calling method [public abstract void tp.dao.IDao.addProduit(tp.entity.Produit)] on target [tp.entity.Produit@27e32fe4]; nested exception is java.lang.IllegalArgumentException: object is not an instance of declaring class at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:346) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJ
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.