Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2386

Problem with Spring CXF XSD on EAP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Fuse EAP
    • None
    • % %

    Description

      After deployment of a Camel project containing Spring configuration with CXF on JBoss EAP I am getting:

      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/cxf]
      Offending resource: URL [vfs:/content/karaf-cxf-camel-cxf-code-first.jar/META-INF/jboss-camel-context.xml]
      

      Probably the appropriate XSD cannot be found. To reproduce that you can use a modified version of the camel-cxf-code-first quickstart from JBoss Fuse. See it attached.

      1. cd camel-cxf-code-first-eap
      2. mvn clean install -DskipTests
      3. cp target/karaf-cxf-camel-cxf-code-first.jar $EAP_HOME/standalone/deployments/

      I have tried that on JBoss EAP 6.4.0.DR12 (http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.4.0.DR12/)

      Attachments

        Activity

          People

            jnethert@redhat.com James Netherton
            trohovsky Tomas Rohovsky (Inactive)
            Jan Kasztura Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: