Here is the maven dependency tree. As you can see, the camel-servlet verson
2.9.1 has a transitive dependency on javax.servlet, from  the http
component. Obviously, while the 2.8.1 version scopes this as "provided",
apparently that is not the case with version 2.9.1.

 Building Camel :: Example :: Servlet Tomcat 2.8.1
 ------------------------------------------------------------------------

 --- maven-dependency-plugin:2.1:tree (default-cli) @
camel-example-servlet-tomcat ---
 org.apache.camel:camel-example-servlet-tomcat:war:2.8.1
 +- org.apache.camel:camel-core:jar:2.9.1:compile
 |  \- org.slf4j:slf4j-api:jar:1.6.1:compile
 +- org.apache.camel:camel-spring:jar:2.9.1:compile
 |  +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile (version
managed from 3.0.7.RELEASE)
 |  |  +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
 |  |  \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
 |  +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
 |  \- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile (version
managed from 3.0.7.RELEASE)
 +- org.apache.camel:camel-servlet:jar:2.9.1:compile
 |  \- org.apache.camel:camel-http:jar:2.8.1:compile (version managed from
2.9.1)
 |     +-
org.apache.geronimo.specs:geronimo-servlet_2.4_spec:jar:1.1.1:compile
 |     \- commons-httpclient:commons-httpclient:jar:3.1:compile
 |        \- commons-codec:commons-codec:jar:1.2:compile
 +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
 |  +- aopalliance:aopalliance:jar:1.0:compile
 |  +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
 |  \- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
 |     \- commons-logging:commons-logging:jar:1.1.1:compile (version managed
from 1.0.4)
 +- log4j:log4j:jar:1.2.16:compile
 +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
 \- com.sun:tools:jar:1.5.0:system
 ------------------------------------------------------------------------
 BUILD SUCCESS
 ------------------------------------------------------------------------
 Total time: 4.987s
 Finished at: Fri Mar 16 17:47:33 PDT 2012
 Final Memory: 10M/120M

--
View this message in context: 
http://camel.465427.n5.nabble.com/Error-cannot-run-camel-servlet-version-2-9-1-in-Tomcat-tp5566624p5572865.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to