spring配置事物,放在weblogic启动报错,以下是部分报错信息org.springframework.beans.factory.CannotLoadBeanClassException:Error loading class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] for bean with name 'org
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 03:54:59
spring配置事物,放在weblogic启动报错,以下是部分报错信息org.springframework.beans.factory.CannotLoadBeanClassException:Error loading class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] for bean with name 'org
spring配置事物,放在weblogic启动报错,
以下是部分报错信息
org.springframework.beans.factory.CannotLoadBeanClassException:Error loading class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] for bean with name 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator#0' defined in class path resource [applicationContext.xml]:problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError:org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1253)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
spring中配置:
在jboss服务器下启动不报错
Caused by:java.lang.NoClassDefFoundError:org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor
下面这个错说没找到类,
Caused By:java.lang.ClassNotFoundException:org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
但是我在org.springframework.beans-3.0.5.RELEASE.jar中找到这个类了
spring配置事物,放在weblogic启动报错,以下是部分报错信息org.springframework.beans.factory.CannotLoadBeanClassException:Error loading class [org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator] for bean with name 'org
之间必须存在有标签,所以,配置文件应该是这样的