问题
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