camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raheem <raheemd...@gmail.com>
Subject Error trying to deploy war
Date Sun, 16 Dec 2012 02:25:11 GMT
Hi,
I used the camel-archetype-web archetype to generate a war.  I generated the
projec, built it and deployed.  When deploying to a karaf-2.2.9 with camel
2.10.2, I get the following exception:
 Unexpected exception parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
org.springframework.beans.FatalBeanException: Class
[org.apache.camel.spring.handler.CamelNamespaceHandler] for namespace
[http://camel.apache.org/schema/spring] does not implement the
[org.springframework.beans.factory.xml.NamespaceHandler] interface

I only have one version of spring installed and I do not have camel-osgi
installed.  Here is a partial listing:
karaf@root> list -t 1 | grep pring
   ID   State         Blueprint      Spring    Level  Name
[  12] [Active     ] [Created     ] [       ] [   28] Apache Karaf ::
Deployer :: Spring (2.2.9)
[  51] [Active     ] [            ] [       ] [   30] Spring Core
(3.0.7.RELEASE)
[  52] [Active     ] [            ] [       ] [   30] Spring ASM
(3.0.7.RELEASE)
[  53] [Active     ] [            ] [       ] [   30] Spring Expression
Language (3.0.7.RELEASE)
[  54] [Active     ] [            ] [       ] [   30] Spring Beans
(3.0.7.RELEASE)
[  55] [Active     ] [            ] [       ] [   30] Spring AOP
(3.0.7.RELEASE)
[  56] [Active     ] [            ] [       ] [   30] Spring Context
(3.0.7.RELEASE)
[  57] [Active     ] [            ] [       ] [   30] Spring Context Support
(3.0.7.RELEASE)
[  67] [Active     ] [            ] [       ] [   30] spring-osgi-io (1.2.1)
[  68] [Active     ] [            ] [       ] [   30] spring-osgi-core
(1.2.1)
[  69] [Active     ] [            ] [       ] [   30] spring-osgi-extender
(1.2.1)
[  70] [Active     ] [            ] [       ] [   30] spring-osgi-annotation
(1.2.1)
[  71] [Active     ] [            ] [       ] [   30] Spring Transaction
(3.0.7.RELEASE)
[  73] [Active     ] [            ] [       ] [   50] camel-spring (2.10.2)
[ 104] [Active     ] [            ] [       ] [   30] Spring Web
(3.0.7.RELEASE)
[ 105] [Active     ] [            ] [       ] [   30] Spring Web Servlet
(3.0.7.RELEASE)
[ 107] [Active     ] [            ] [       ] [   30] Spring JMS
(3.0.7.RELEASE)
[ 286] [Active     ] [            ] [       ] [   80] Spring JDBC
(3.0.7.RELEASE)
karaf@root> list -t 1 | grep camel
[  64] [Active     ] [            ] [       ] [   50] camel-core (2.10.2)
[  65] [Active     ] [Created     ] [       ] [   50] camel-karaf-commands
(2.10.2)
[  73] [Active     ] [            ] [       ] [   50] camel-spring (2.10.2)
[  74] [Active     ] [Created     ] [       ] [   50] camel-blueprint
(2.10.2)
[  75] [Active     ] [            ] [       ] [   50] camel-context (2.10.2)
[  81] [Active     ] [            ] [       ] [   50] camel-quartz (2.10.2)
[ 108] [Active     ] [            ] [       ] [   50] camel-jms (2.10.2)
[ 167] [Active     ] [            ] [       ] [   50] camel-cxf-transport
(2.10.2)
[ 168] [Active     ] [Created     ] [       ] [   50] camel-cxf (2.10.2)
[ 184] [Active     ] [            ] [       ] [   50] camel-http (2.10.2)
[ 185] [Active     ] [            ] [       ] [   50] camel-jetty (2.10.2)
[ 188] [Active     ] [            ] [       ] [   50] camel-ftp (2.10.2)
[ 191] [Active     ] [            ] [       ] [   50] camel-ssh (2.10.2)
[ 242] [Active     ] [            ] [       ] [   50] activemq-camel (5.7.0)

Thanks!
Raheem




--
View this message in context: http://camel.465427.n5.nabble.com/Error-trying-to-deploy-war-tp5724157.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message