a little question,i have been maven this project used"maven eclipse",then i tried to run it within eclipse ,then some errors occured:

ServiceMix ESB: null

Loading ServiceMix from servicemix.xml on the CLASSPATH
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [servicemix.xml]; nested exception is java.io.FileNotFoundException: class path resource [servicemix.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [servicemix.xml] cannot be opened because it does not exist
        at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:160)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:160)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)Caught: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [servicemix.xml]; nested exception is java.io.FileNotFoundException: class path resource [servicemix.xml] cannot be opened because it does not exist

        at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at org.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefinitions(ClassPathXmlApplicationContext.java:170)
        at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:268)
        at org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:158)
        at org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:48)
        at org.servicemix.Main.main(Main.java:50)

i think maybe i loaded error xml file,servicemix.xml where is it ? and in eclipse where should i put it in and run with it ?thanks

Sent from the servicemix - dev forum at Nabble.com:
run from sources?

Reply via email to