Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

spring AOP aspect4j logger on the spring mvc application exception

>>>java.lang.IllegalStateException: Failed to load ApplicationContext
                at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:203)


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'updateIndicatorClient' defined in class path resource [applicationContext-xyz.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class $Proxy15]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy15



When running spring AOP aspect4j logger on the spring mvc application getting above exception.

How can i resolve it.
Any ideas, resources,sample code,links,  highly appreciated. thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial