You have to launch "maven" in the core project, so that some files are generated, then update your project. You should see a "target/generated" source directory in the core project in Eclipse. In this directory, a META-INF/services/org/xbean/spring/http/servicemix.org/config/1.0 file.

Guillaume

nintha (sent by Nabble.com) wrote:

when i debug the example of servicemix ,the console show something not friendly:

ServiceMix ESB: null

Loading ServiceMix from servicemix.xml on the CLASSPATH
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jbi' is defined: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans []; root of BeanFactory hierarchy at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:349) at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:671) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:553)
        at org.servicemix.Main.main(Main.java:79)
Caught: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jbi' is defined: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans []; root of BeanFactory hierarchy

it's say that "No bean named 'jbi' is defined",i found "the bean of jbi" is configed at servicemix.xml ,but i don't know the error,how can i correct it ?thanks
------------------------------------------------------------------------
Sent from the servicemix - dev <http://www.nabble.com/servicemix---dev-f12051.html> forum at Nabble.com: a jbi question <http://www.nabble.com/a-jbi-question-t653229.html#a1736180>


Reply via email to