ClassNotFoundException org.springframework.aop.framework.AopConfigException

折月煮酒 提交于 2019-12-11 16:23:32

问题


I have an application which we're trying to get to run on WebLogic 12.2.1.3 but even though we have the correct spring-aop-3.0.5.RELEASE.jar in the application's web-inf\lib directory we still get a

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'peServicesFactory' defined in BeanDefinition defined in ServletContext resource [/WEB-INF/taskServlet-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Unexpected AOP exception; nested exception is java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springframework.aop.framework.AopConfigException
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
    ...more
Caused by: org.springframework.aop.framework.AopConfigException: Unexpected AOP exception; nested exception is java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springframework.aop.framework.AopConfigException
    at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:219)
    at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:112)
    at org.springframework.aop.scope.ScopedProxyFactoryBean.setBeanFactory(ScopedProxyFactoryBean.java:109)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1439)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1408)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    ... more
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.springframework.aop.framework.AopConfigException
    at net.sf.cglib.asm.$ClassWriter.getCommonSuperClass(Unknown Source)
    at net.sf.cglib.asm.$ClassWriter.a(Unknown Source)
    ... more

Any ideas?

来源:https://stackoverflow.com/questions/56989255/classnotfoundexception-org-springframework-aop-framework-aopconfigexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!