I believe it may be the JVM in question causing this error. A while back, I 
tried to bump up my JDK from 1.4.2 to 1.5 and it caused all kinds of 
complilation errors, and errors like this as well. And I'm still on the TC 
4.1.x series. I had to uninstall that JDK's JVm to get everything to compile 
again.



-----Original Message-----
From: Deepa Paranjpe [mailto:[EMAIL PROTECTED]
Sent: Monday, July 09, 2007 11:21 AM
To: users@tomcat.apache.org
Subject: Changing tomcat version


Hi all,

I was using tomcat's version of 4.1 for a long time and it was working fine. 
But then I decided to move to version 6. I kept getting these errors --> 

javax.servlet.ServletException: Cannot allocate servlet instance for path 
/mystuff/servlet/RelatedQuestions
 
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:389)
 org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

 javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause 
 java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet 


When I tried to move back to version 4 -- even the main page
i.e. localhost:8080/ doesn't show anything.

How can I fix this problem? Please help.

Thanks much in advance,
Deepa



 
---------------------------------
Sucker-punch spam with award-winning protection.
 Try the free Yahoo! Mail Beta.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to