2 Replies Latest reply on Aug 7, 2016 11:14 AM by Santi Ortiz

    Error in war deployment into Fuse 6.1.0 which is a combination of cxf-ws&rs with camel routing

    thomas elavarasu Newbie

      Hi All,

       

      I am making the war bundle which is a combination of cxf-ws & rs with camel routing.

       

      I can deploy the bundle into Tomcat 7 without any error, But I got below exception when tried to deploy the same bundle into Fuse 6.1.0.

      Used war deployment approach, by running command like osgi:install -s war:mvn...?Web-ContextPath=

       

      Please find below detailed trace;

       

      java.lang.IncompatibleClassChangeError: Class org.apache.cxf.transport.servlet.ServletDestinationFactory does not implement the requested interface org.apache.cxf.transport.http.HttpDestinationFactory

        at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:304)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:258)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:210)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:64)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.RouteService.warmUp(RouteService.java:133)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:2109)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:2039)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1827)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1699)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1544)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1512)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:301)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)[588:mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war:0]

        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:201)[100:org.ops4j.pax.web.pax-web-jetty:3.0.6]

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:187)[100:org.ops4j.pax.web.pax-web-jetty:3.0.6]

        at org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:938)[98:org.ops4j.pax.web.pax-web-runtime:3.0.6]

        at org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:386)[98:org.ops4j.pax.web.pax-web-runtime:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end(RegisterWebAppVisitorWC.java:338)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:678)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:135)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0.redhat-610379]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:101)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:213)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart(WebObserver.java:175)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start(SimpleExtension.java:58)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender$1.run(AbstractExtender.java:266)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_07]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_07]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_07]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]

      20:13:12,293 | WARN  | pool-8-thread-3  | AbstractLifeCycle                | 92 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | FAILED HttpServiceContext{httpContext=WebAppHttpContext{mvn_com.altisource.eim_eim-poc-services-war_1.0.0_war - 588}}: java.lang.IncompatibleClassChangeError: Class org.apache.cxf.transport.servlet.ServletDestinationFactory does not implement the requested interface org.apache.cxf.transport.http.HttpDestinationFactory

      java.lang.IncompatibleClassChangeError: Class org.apache.cxf.transport.servlet.ServletDestinationFactory does not implement the requested interface org.apache.cxf.transport.http.HttpDestinationFactory

        at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:304)

        at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:142)

        at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)

        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)

        at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160)

        at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)

        at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:258)

        at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:210)

        at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:64)

        at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)

        at org.apache.camel.impl.RouteService.warmUp(RouteService.java:133)

        at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:2109)

        at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:2039)

        at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1827)

        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1699)

        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1544)

        at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179)

        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)

        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1512)

        at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228)

        at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118)

        at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:301)

        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)

        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)

        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)

        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)

        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)

        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)

        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)

        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)

        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:201)

        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[92:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031]

        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:187)[100:org.ops4j.pax.web.pax-web-jetty:3.0.6]

        at org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:938)[98:org.ops4j.pax.web.pax-web-runtime:3.0.6]

        at org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:386)[98:org.ops4j.pax.web.pax-web-runtime:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end(RegisterWebAppVisitorWC.java:338)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:678)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:135)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:864)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0.redhat-610379]

        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0.redhat-610379]

        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:101)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:213)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart(WebObserver.java:175)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start(SimpleExtension.java:58)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender$1.run(AbstractExtender.java:266)[241:org.ops4j.pax.web.pax-web-extender-war:3.0.6]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_07]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]

        at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_07]

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_07]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_07]

        at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]

       

      I used below dependencies in pom.xml

       

      <properties>

        <cxf-version>2.7.4</cxf-version>

        <camel-version>2.12.0</camel-version>

        <slf4j-version>1.7.5</slf4j-version>

        <log4j-version>1.2.17</log4j-version>

        <spring-version>3.2.6.RELEASE</spring-version>

      </properties>

      <dependencies>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-core</artifactId>

        <version>${camel-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-cxf</artifactId>

        <version>${camel-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-rt-frontend-jaxws</artifactId>

        <version>${cxf-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-rt-transports-http</artifactId>

        <version>${cxf-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-rt-transports-http-jetty</artifactId>

        <version>${cxf-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-rt-transports-http-netty-server</artifactId>

        <version>3.0.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-http</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-jaxb</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-servlet</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.codehaus.jackson</groupId>

        <artifactId>jackson-core-asl</artifactId>

        <version>1.9.13</version>

        </dependency>

        <dependency>

        <groupId>org.codehaus.jackson</groupId>

        <artifactId>jackson-mapper-asl</artifactId>

        <version>1.9.13</version>

        </dependency>

        <dependency>

        <groupId>net.sf.json-lib</groupId>

        <artifactId>json-lib</artifactId>

        <version>2.4</version>

        <classifier>jdk15</classifier>

        </dependency>

        <dependency>

        <groupId>org.codehaus.jackson</groupId>

        <artifactId>jackson-jaxrs</artifactId>

        <version>1.9.13</version>

        </dependency>

        <dependency>

        <groupId>org.codehaus.jackson</groupId>

        <artifactId>jackson-xc</artifactId>

        <version>1.9.13</version>

        </dependency>

        <dependency>

        <groupId>javax.xml.bind</groupId>

        <artifactId>jaxb-api</artifactId>

        <version>2.2</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-activemq</artifactId>

        <version>1.1.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.activemq</groupId>

        <artifactId>activemq-camel</artifactId>

        <version>5.11.1</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-jms</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-spring</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.camel</groupId>

        <artifactId>camel-velocity</artifactId>

        <version>2.12.0</version>

        </dependency>

        <dependency>

        <groupId>org.apache.activemq</groupId>

        <artifactId>activemq-pool</artifactId>

        <version>5.6.0</version>

        </dependency>

        <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-web</artifactId>

        <version>${spring-version}</version>

        </dependency>

        <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-core</artifactId>

        <version>${spring-version}</version>

        </dependency>

        <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-beans</artifactId>

        <version>${spring-version}</version>

        </dependency>

        <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-jdbc</artifactId>

        <version>${spring-version}</version>

        </dependency>

        <dependency>

        <groupId>org.springframework</groupId>

        <artifactId>spring-orm</artifactId>

        <version>3.1.4.RELEASE</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-bundle-jaxrs</artifactId>

        <version>${cxf-version}</version>

        </dependency>

        <dependency>

        <groupId>org.apache.cxf</groupId>

        <artifactId>cxf-rt-frontend-jaxrs</artifactId>

        <version>2.7.0.redhat-610379</version>

        </dependency>

        <dependency>

        <groupId>org.slf4j</groupId>

        <artifactId>slf4j-log4j12</artifactId>

        <version>${slf4j-version}</version>

        </dependency>

        <dependency>

        <groupId>log4j</groupId>

        <artifactId>log4j</artifactId>

        <version>${log4j-version}</version>

        </dependency>

        <dependency>

        <groupId>net.sourceforge.jexcelapi</groupId>

        <artifactId>jxl</artifactId>

        <version>2.6.12</version>

        </dependency>

      </dependencies>

       

      Please guide me how to resolve this problem. Thanks in advance....