java.lang.IllegalStateException: Unknown callback class org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Matthew Sgarlata, 1 year ago
Unknown callback class org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor
via Spring JIRA by Matthew Sgarlata, 1 year ago
Unknown callback class org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor
java.lang.IllegalStateException: Unknown callback class org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor
at net.sf.cglib.proxy.CallbackUtils.getGenerator(CallbackUtils.java:102)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:298)
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:246)
at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:175)
at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:138)
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:66)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:182)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:285)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:204)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:135)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284)
at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:114)
at com.bah.krm.core.SpringInitializer.initForDb(SpringInitializer.java:140)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.