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]
[the applicationcontext.xml]
<? The XML version="1.0" encoding="utf-8"?>
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;