Camel on Google App Engine Tutorial - configuration - Unable to locate Spring NamespaceHandler for XML schema namespace

0 views
Skip to first unread message

VictorH via StackOverflow

unread,
Mar 25, 2015, 7:14:33 PM3/25/15
to google-appengin...@googlegroups.com

I've posted an excerpt from context.xml and the stack trace I'm getting.

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:camel="http://camel.apache.org/schema/spring"
       xsi:schemaLocation="
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
         http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">

  <camel:camelContext id="camelContext">
    <!-- JMX is not supported in GAE -->
    <camel:jmxAgent id="agent" disabled="true"/>
    <!-- refer to the route to use -->
    <camel:routeBuilder ref="tutorialRouteBuilder"/>
  </camel:camelContext>

  <!-- this is our route -->
  <bean id="tutorialRouteBuilder" class="org.apache.camel.example.gae.TutorialRouteBuilder"/>

</beans>

Javax.servlet.ServletContext log: Initializing Spring root WebApplicationContext org.springframework.web.context.ContextLoader initWebApplicationContext: Context initialization failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/spring] Offending resource: class path resource [context.xml]

at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/29268234/camel-on-google-app-engine-tutorial-configuration-unable-to-locate-spring-na

VictorH via StackOverflow

unread,
Mar 26, 2015, 2:09:45 AM3/26/15
to google-appengin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages