On 3/3/11 12:19 AM, woggle23 wrote:
How do I actually specify version 2.5 for all of those jar files? Currently
my pom.xml file contains the following:


    org.apache.camel
    camel-core
    2.4.0


    org.apache.camel
    camel-spring
    2.4.0




    org.apache.camel
    camel-servlet
    2.4.0



    org.apache.camel
    camel-http
    2.4.0


          org.apache.geronimo.specs
          geronimo-servlet_2.4_spec




    org.springframework
    spring-web
    2.5


As you can see I don't specify version 3.x for spring anywhere, so I'm
presuming these versions somehow default to 3.x. How do I ensure they are
set to 2.5?
If you are using Camel 2.4.0, you don't need to override the Spring version for it.

If you are using Camel 2.6.0 , you need to exclude the spring artifacts from camel-spring, and add the spring 2.5.x artifacts yourself.

From Camel 2.7.0, we move to Spring 3.x and JDK 1.6. I don't think it's a good idea to still use spring 2.5.x with Camel 2.7.0.


"You can wait for the upcoming Camel 2.7 which makes this work out of
the box and we got an example"

That sounds marvellous - when's version 2.7 due to be available?

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Servlet-Tomcat-Problem-tp3405032p3406771.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to