异常描述
Caused by: org.springframework.aop.framework.AopConfigException: Unexpected AOP exception; nested exception is java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springframework.beans.BeansException
at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:220) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:490) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:365) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:325) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) ~[spring-2.5.6.SEC03.jar:2.5.6.SEC03]
... 61 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springframework.beans.BeansException
at net.sf.cglib.asm.$ClassWriter.getCommonSuperClass(Unknown Source) ~[cglib-nodep-3.2.5.jar:na]
at net.sf.cglib.asm.$ClassWriter.a(Unknown Source) ~[cglib-nodep-3.2.5.jar:na]
at net.sf.cglib.asm.$Frame.a(Unknown Source) ~[cglib-nodep-3.2.5.jar:na]
at net.sf.cglib.asm.$Frame.a(Unknown Source) ~[cglib-nodep-3.2.5.jar:na]
at net.sf.cglib.asm.$MethodWriter.visitMaxs(Unknown Source) ~[cglib-nodep-3.2.5.jar:na]
at net.sf.cglib.core.CodeEmitter.visitMaxs(CodeEmitter.java:842) ~[cglib-nodep-3.2.5.jar:na]
修改weblogic.xml
优先加载项目中的jar包
<prefer-application-packages>
<package-name>net.sf.cglib.*</package-name>
</prefer-application-packages>
【教程】解决升级weblogic 12.2.1.3报错ClassNotFoundException: org.springframework.aop.framework.AopConfigException: 【教程】解决升级weblogic 12.2.1.3报错ClassNotFoundException: org.springframework.aop.framework.AopConfigException
|