Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1071

Generated CustomerWebServiceTest can not run on JBoss Dev Studio integration-stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.0
    • None
    • Archetypes
    • None
    • Workaround Exists

      Added Fuse integration-stack to JBoss Dev Studio at: https://devstudio.jboss.com/updates/7.0/integration-stack/

      Following instructions here:

      http://www.jboss.org/products/fuse

      Created new project using camel-webservice archetype. Build it, and try to Run As -> Local Camel Context. You will see there is an erro indicated cannot find the file:

      org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [META-INF/spring/camelContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [META-INF/spring/camelContext.xml] cannot be opened because it does not exist
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
      	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
      	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
      	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
      
      

      in fact the generated fileName is CamelContext.xml, not camelContext.xml

        1. cws.png
          261 kB
          Paul Leacu

              janstey@redhat.com Jonathan Anstey
              rhn-support-xiwu Xiaohui Wu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: