Some Spring XML namespaces are not available to applications deployed on EAP with Fuse module

Solution Verified - Updated -

Issue

A Camel application that uses Spring XML extensively cannot be ported to EAP, even with the Fuse 6.2.1 module installed. Attempting to deploy the application results in messages about missing XML namespaces, for example:

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop]

or

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx]

Environment

JBoss Fuse module for EAP
- 6.2.1
JBoss EAP
- 6.4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.