activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Wellhöfer <Bernhard.Wellhoe...@gaia-group.com>
Subject AW: Another problem?
Date Tue, 31 Oct 2006 07:37:50 GMT
Hello,

Your configuration file applicationContext.xml defines a bean named "broker" which is defined
as an instance of the class "broker". The class "broker" does not exists and so the startup
fails.

Cheers,

Bernhard

> -----Ursprüngliche Nachricht-----
> Von: ming616 [mailto:ming616@gmail.com] 
> Gesendet: Dienstag, 31. Oktober 2006 03:03
> An: activemq-users@geronimo.apache.org
> Betreff: Another problem?
> 
> 
> I build activemq4.1 sucessfully, but when i run it, I got 
> another problem?
> What's the problem?
> 
> [ClassPathXmlApplicationContext] INFO : 1 beans defined in 
> application context 
> [org.springframework.context.support.ClassPathXmlApplicationCo
> ntext;hashCode=24212267]
> [ClassPathXmlApplicationContext] INFO : Unable to locate 
> MessageSource with name 'messageSource': using default 
> [org.springframework.context.support.DelegatingMessageSource@1006d75]
> [ClassPathXmlApplicationContext] INFO : Unable to locate 
> ApplicationEventMulticaster with name 
> 'applicationEventMulticaster': using default 
> [org.springframework.context.event.SimpleApplicationEventMulti
> caster@bb7465]
> [DefaultListableBeanFactory] INFO : Pre-instantiating 
> singletons in factory 
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [broker]; root of BeanFactory hierarchy] 
> [XBeanXmlBeanDefinitionReader] INFO : Loading XML bean 
> definitions from class path resource [activemq.xml] 
> [DefaultListableBeanFactory] INFO : Destroying singletons in 
> {org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [broker]; root of BeanFactory hierarchy} 
> Exception in thread "main"
> org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 'broker' defined in class path 
> resource [applicationContext.xml]:
> Invocation of init method failed; nested exception is
> org.springframework.beans.factory.BeanDefinitionStoreException
> : Failed to load type: broker. Reason: 
> java.lang.ClassNotFoundException: broker; nested exception is 
> java.lang.ClassNotFoundException: broker Caused by: 
> org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to load type: broker. Reason: java.lang.ClassNotFoundException:
> broker; nested exception is java.lang.ClassNotFoundException: 
> broker Caused by: java.lang.ClassNotFoundException: broker
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.loadClass
> (XBeanQNameHelper.java:107)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanIn
> fo(XBeanQNameHelper.java:72)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNam
> espaceAwarePropertyValues(XBeanQNameHelper.java:54)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanBeanDefinitionParserD
> elegate.parseBeanDefinitionElement(XBeanBeanDefinitionParserDe
> legate.java:63)
> 	at
> org.springframework.beans.factory.xml.BeanDefinitionParserDele
> gate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:421)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.pars
> eBeanFromExtensionElement(XBeanNamespaceHandler.java:208)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.pars
> eBeanFromExtensionElement(XBeanNamespaceHandler.java:256)
> 	at
> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.pars
> e(XBeanNamespaceHandler.java:152)
> 	at org.apache.xbean.spring.
> --
> View this message in context: 
> http://www.nabble.com/Another-problem--tf2543468.html#a7087005
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> 
> 
> 
> 
> 

Mime
View raw message