日期:2014-05-18  浏览次数:20722 次

spring高手快进,急待解决......
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Canno
t find class [org.springframework.jms.connection.CachingConnectionFactory] for b
ean with name 'pooledJmsFactory' defined in class path resource [beans-jms-templ
ate.xml]; nested exception is java.lang.ClassNotFoundException: org.springframew
ork.jms.connection.CachingConnectionFactory
Caused by: java.lang.ClassNotFoundException: org.springframework.jms.connection.
CachingConnectionFactory
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1386)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1232)
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
        at org.springframework.beans.factory.support.AbstractBeanDefinition.reso
lveBeanClass(AbstractBeanDefinition.java:327)
        at org.springframework.beans.factory.support.AbstractBeanFactory.resolve
BeanClass(AbstractBeanFactory.java:1073)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:348)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:249)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:155)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:246)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:160)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:267)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean