2 Replies Latest reply on Nov 26, 2009 3:45 AM by Lekan Omotayo

    FailedToCreateRouteException: Failed to create route route1

    Lekan Omotayo Expert

      While trying to configure a route using the camel 2.0, I had the ffg in my bean.xml file:

       

      )

       

      I tried that and it seems it cant find the transport nmr resource path. See exception below:

       

      XML bean definitions from OSGi resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=176|bnd.sym=nau-college-se]

      16:52:31,731 | ERROR | xtenderThread-79 | OsgiBundleXmlApplicationContext  | gatedExecutionApplicationContext  293 | Pre refresh error

      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml

      Offending resource: URL bundle://176.0:0/META-INF/spring/beans.xml; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from OSGi resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=176|bnd.sym=nau-college-se]; nested exception is java.io.FileNotFoundException: OSGi resource[classpath:META-INF/cxf/transport/nmr/cxf-transport-nmr.xml|bnd.id=176|bnd.sym=nau-college-se] cannot be resolved to URL because it does not exist

              at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)

              at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)

       

      kr.