camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel Servlet Tomcat Problem
Date Tue, 01 Mar 2011 16:50:09 GMT
Hi

Ah that class is gone in Spring 3.
If you use Spring 2.x then that class is there.
http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/web/context/ContextLoaderServlet.html

There is a ticket to fix this with Spring 3. So keen an eye on:
https://issues.apache.org/jira/browse/CAMEL-3549


On Tue, Mar 1, 2011 at 5:32 PM, woggle23 <mattfelstead@yahoo.co.uk> wrote:
> Hi Claus
>
> I checked the localhost log, the following exception was listed. The
> org.springframework.web.context.ContextloaderServlet is employed in the
> web.xml file; is there are problem with my entry in the here?
>
> SEVERE: Servlet /CamelTomcat-0.0.1-SNAPSHOT threw load() exception
> java.lang.ClassNotFoundException:
> org.springframework.web.context.ContextLoaderServlet
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
>        at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
>        at
> org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
>        at
> org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
>        at
> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
>        at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
>        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:996)
>        at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4834)
>        at
> org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5155)
>        at
> org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5150)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:662)
>
> Cheers
>
> Matt
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-Servlet-Tomcat-Problem-tp3405032p3405246.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message