Jean-Baptiste, Thank you for the suggestion. I have done that. Though I no longer get complaints about the version mismatch it fails with
NoSuchFieldError: log Despite the fact that that I have following jar in the lib dir: log4j-1.2.16.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar The detailed knowledge of the JBoss deloyers indicate that you might be using Camel with JBoss yourself. Is it so? Here is the log excerpt: 2011-06-18 17:22:29,292 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/camel-prototype-1-0.1 2011-06-18 17:22:29,370 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/camel-prototype-1-0.1]] (main) Initializing Spring root WebApplicationContext 2011-06-18 17:22:29,604 INFO [org.apache.camel.spring.handler.CamelNamespaceHandler] (main) OSGi environment not detected. 2011-06-18 17:22:30,072 INFO [org.apache.camel.core.xml.AbstractCamelContextFactoryBean] (main) Using custom PackageScanClassResolver: org.apache.camel.jboss.JBossPackageScanClassResolver@19bfff0b 2011-06-18 17:22:30,259 INFO [STDOUT] (main) [ main] ContextLoader ERROR Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'template': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camel-1': Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: log at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[jar:file:/C:/opt/jboss-eap-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/camel-prototype-1-0.1.war!/WEB-INF/lib/spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[jar:file:/C:/opt/jboss-eap-5.1.0/jboss-eap-5.1/jboss-as/server/default/deploy/camel-prototype-1-0.1.war!/WEB-INF/lib/spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] -- View this message in context: http://camel.465427.n5.nabble.com/JBoss-5-1-0-Camel-Spring-Servlet-endpoint-Anyone-succeded-tp4500558p4500794.html Sent from the Camel - Users mailing list archive at Nabble.com.