mercredi 25 mars 2015

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

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





<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:camel="http://ift.tt/TZ5qsO"
xsi:schemaLocation="
http://ift.tt/GArMu6 http://ift.tt/1jdM0fG
http://ift.tt/TZ5qsO http://ift.tt/1apCv6i">

<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://ift.tt/TZ5qsO] 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)

Aucun commentaire:

Enregistrer un commentaire