"Failed to read schema document" when using Spring namespaces in Camel-on-EAP

Solution Verified - Updated -

Issue

Trying to make use of Spring-provided resources like transactions can result in errors as shown below. These errors may appear only if working offline (being connected results in successful deployment).

WARN  [org.wildfly.extension.camel.SpringCamelContextFactory$1] (MSC service thread 1-8) Ignored XML validation warning: org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 84; schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/jee/spring-jee.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:196)

Environment

JBoss Fuse 6.2.1

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