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

Solution Verified - Updated -

Issue

A Camel application that uses Spring XML extensively cannot be ported to EAP, even with the Fuse-on-EAP layer 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.x
- 7.x
JBoss EAP
- 6.4.0
- 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content