This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Need help on resolving eclipse-tomcat plugin issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Need help on resolving eclipse-tomcat plugin issue " Watch "Need help on resolving eclipse-tomcat plugin issue " New topic
Author

Need help on resolving eclipse-tomcat plugin issue

Pat You
Greenhorn

Joined: May 15, 2003
Posts: 2
Hi,
I have installed the necessary components for eclipse (J2SDK1.4.1_02, Tomcat4.1.18, Eclipse2.0, tomcat plugin and patch files). I could start Tomcat by using the Tomcat icon on eclipse menu. However, after I created a servlet - test.TestServlet( under project Tom) and try this link (http://localhost:8080/Tom/servlet/test.TestServlet) to access the servlet, I got http error 500 complaining about ClassCastException. The stack track is :
java.lang.ClassCastException
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:902)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:416)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
I wonder if there is something wrong in This version of Tomcat or my incorrecting setting. I am using 4.1.18. Can anyone help me on resolving this issue? Let me know if you need more information.
Thanks


Pat You
 
IntelliJ Java IDE
 
subject: Need help on resolving eclipse-tomcat plugin issue
 
Threads others viewed
500 ERROR HELP!!!!!
server not found
Problem using Velocity with Tomcat
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
What is HTTP server 500 error.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com