org.springframework.beans.factory.BeanCreationException:的问题!急!

来源:百度知道 编辑:UC知道 时间:2024/05/17 04:11:06
ERROR - ContextLoader.initWebApplicationContext(203) | Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xfire.typeMappingRegistry' defined in class path resource [org/codehaus/xfire/spring/xfire.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/activation/DataSource
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAu

ERROR - ContextLoader.initWebApplicationContext(203) | Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xfire.typeMappingRegistry' defined in class path resource [org/codehaus/xfire/spring/xfire.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/activation/DataSource
============看到没,在定义bean name为'xfire.typeMappingRegistry' 路径资源[org/codehaus/xfire/spring/xfire.xml]出错,,
则你的DataSource不能建立,,我不知道你applicationContext.xml中的配置,及xfire.xml文件,,,是什么,,,只能说这些了,,你在好好看看这几个出错的地方.

spring 无法加载 不太明白 你自己排除排除吧 我刚开始学 也不太懂