-
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
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.
- cd camel-cxf-code-first-eap
- mvn clean install -DskipTests
- 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/)