activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Embedded ActiveMQ in Spring throws java.lang.ClassNotFoundException
Date Tue, 08 Aug 2006 06:46:18 GMT
You need to include concurrent jar which is available at
http://ibiblio.org/maven2/concurrent/concurrent/1.3.4/concurrent-1.3.4.jar

On 8/8/06, javaxmlsoapdev <vikasdp@yahoo.com> wrote:
>
>
> I am using all the mentioned version of Jencks, ActiveMQ, spring-xml etc.
> I
> am getting this exception. Am I missing any jars. please let me know.
>
> Cannot resolve reference to bean 'connectionManager' while setting bean
> property 'connectionManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'connectionManager': FactoryBean threw exception on object
> creation; nested exception is java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
> Caused by:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'jmsTemplate' defined in ServletContext resource
> [/WEB-INF/spring-embedded.xml]: Cannot resolve reference to bean
> 'jmsConnectionFactory' while setting bean property 'connectionFactory';
> nested exception is
> org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'jmsConnectionFactory' defined in
> ServletContext resource [/WEB-INF/spring-embedded.xml]: Cannot resolve
> reference to bean 'connectionManager' while setting bean property
> 'connectionManager'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'connectionManager': FactoryBean threw exception on object
> creation; nested exception is java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
> Caused by:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'jmsConnectionFactory' defined in ServletContext resource
> [/WEB-INF/spring-embedded.xml]: Cannot resolve reference to bean
> 'connectionManager' while setting bean property 'connectionManager';
> nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error
> creating bean with name 'connectionManager': FactoryBean threw exception
> on
> object creation; nested exception is java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
> Caused by:
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name 'connectionManager': FactoryBean threw exception on object
> creation; nested exception is java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
> Caused by:
> java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ReadWriteLock
>         at
>
> org.apache.geronimo.connector.outbound.connectionmanagerconfig.SinglePool.addPoolingInterceptors
> (SinglePool.java:113)
>         at
>
> org.apache.geronimo.connector.outbound.GenericConnectionManager$InterceptorsImpl
> .<init>(GenericConnectionManager.java:85)
>
> --
> View this message in context:
> http://www.nabble.com/Embedded-ActiveMQ-in-Spring-throws-java.lang.ClassNotFoundException-tf2035683.html#a5700011
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message