-
Jan 18th, 2007, 06:14 AM
#1
HttpInvoker incompatible with Servlet 2.3?
Hi,
I'm trying to deploy the HttpInvoker on Weblogic 8.1 sp5, and am getting a class cast exception when it comes to initialise the DispatcherServlet:
org.springframework.web.servlet.DispatcherServlet
Error casting servlet: "search-remoting" to javax.servlet.Servlet java.lang.ClassCastException
then
javax.servlet.ServletException: Servlet class: 'org.springframework.web.servlet.
DispatcherServlet' does not implement javax.servlet.Servlet
I followed this strange trail to its end, and discovered that spring 2.0 is built using Servlet 2.4.
Could this be the problem ?
Is there an alternative to using the DispatcherServlet ?
Cheers
-
Jan 18th, 2007, 09:23 AM
#2
I've rolled back to spring 1.2.8.
That seems to have solved the problem
-
Feb 17th, 2007, 02:48 PM
#3
Spring 2.0 does support Servlet 2.3 and even Servlet 2.2 for many scenarios. In your case, this simply looks like a classpath problem; did you maybe have a Servlet API jar in your WEB-INF/lib directory?
Juergen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules