You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ming616 <mi...@gmail.com> on 2006/08/04 09:01:22 UTC
How to deal with this old problem?
How to deal with this old problem?
I tried (activemq4.0.1.jar+spring1.2.8.jar + xbean-spring2.2.jar) and
(activemq4.1-snapshot.jar+spring2.0-rc3.jar + xbean-spring2.3.jar) to load
embeded broker in spring.
Both got this problem, I also tried any explain in this forum. The result is
same. I am tired ,please
give me a help, thanks a lot!
Problem is :
[java] 14:50:04 INFO Unable to locate MessageSource with name
'messageSource': using default
[org.springframework.context.support.DelegatingMessageSource@f0eed6]
[java] 14:50:04 DEBUG Creating [java.util.LinkedHashSet]
[java] Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'broker' defined in class path resource [applicationContext.xml]:
Initialization of bean failed; nested exception is
java.lang.IllegalArgumentException: The configuration has no BrokerService
instance for resource: class path resource [activemq.xml]
[java] java.lang.IllegalArgumentException: The configuration has no
BrokerService instance for resource: class path resource [activemq.xml]
[java] at
org.apache.activemq.xbean.BrokerFactoryBean.afterPropertiesSet(BrokerFactoryBean.java:97)
[java] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
[java] at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)
[java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
[java] at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
--
View this message in context: http://www.nabble.com/How-to-deal-with-this-old-problem--tf2049645.html#a5645665
Sent from the ActiveMQ - User forum at Nabble.com.