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

Problem with Spring CXF XSD on EAP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: jboss-fuse-6.2.1
    • Component/s: Fuse EAP
    • Labels:
      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/)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jamesnetherton James Netherton
                Reporter:
                trohovsky Tomas Rohovsky
                Tester:
                Jan Kasztura
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: