【容器】WebLogic升级12.2.1.4版本,发布程序报错java.lang.ClassNotFoundException

【容器】WebLogic升级12.2.1.4版本,发布程序报错java.lang.ClassNotFoundException,第1张

异常描述
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

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/905173.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-15
下一篇 2022-05-15

发表评论

登录后才能评论

评论列表(0条)

保存