Home > Back-end >  [activeMQ for help] about a activeMQ integrating spring for help, who come in, please
[activeMQ for help] about a activeMQ integrating spring for help, who come in, please

Time:10-05

Learning to activeMQ, went to the place and spring integration, appear error

Thought is to knock yourself where is wrong, but copy notes error

Baidu said what beans or something, don't understand how to operate the

[console error message]

The Exception in the thread "main" org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'spingPro: Unsatisfied dependency expressed through the field' jmsTemplate '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'jmsTemplate defined in the class path resource [the applicationcontext.xml] : always resolve a reference to the bean' connectionFactory while setting the bean property 'connectionFactory; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'connectionFactory: Failed to introspect the bean class [. Org. Apache activemq. Pool. PooledConnectionFactory] for the lookup method metadata: could not find the class that it depends on. Nested exception is Java. Lang. NoClassDefFoundError: org/apache/Commons/pool/KeyedPoolableObjectFactory

[maven]



Org. Apache. Activemq
Activemq - all
5.10.0 & lt;/version>


Com. Fasterxml. Jackson. Core
Jackson - databind
2.10.1 & lt;/version>


Org. Apache. Activemq
Activemq - pool
5.15.10 & lt;/version>


Org. Springframework
Spring - jms
5.2.1. RELEASE


Org. Apache. Xbean
Xbean - spring
4.15 & lt;/version>


Org. Springframework
Spring - aop
5.2.3 requires. RELEASE


Org. Springframework
Spring - core
4.3.23. RELEASE


Org. Springframework
Spring - context
4.3.23. RELEASE


Org. Springframework
Spring - aop
4.3.23. RELEASE


Org. Springframework
Spring - orm
4.3.23. RELEASE



[the applicationcontext.xml]

<? The XML version="1.0" encoding="utf-8"?>
XMLNS: xsi="http://www.w3.org/2001/XMLSchema-instance"
XMLNS: context="http://www.springframework.org/schema/context"
Xsi: schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context.xsd "& gt;