当前位置: 代码迷 >> J2EE >> spring好手快进,待解决.
  详细解决方案

spring好手快进,待解决.

热度:115   发布时间:2016-04-21 22:17:53.0
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
  相关解决方案