Hi Konstantin Kolinko, thank you for the reply. Did you mean tomcat/webapps/examples/WEB-INF/lib?
There is no servlet-api.jar there. Please correct me if I got it wrong. Regards, Pratibha On Thu, Aug 25, 2011 at 6:38 PM, Konstantin Kolinko <knst.koli...@gmail.com>wrote: > 2011/8/26 Pratibha S <psund...@gmail.com>: > > Hi, > > > > I'm a newbie. I'm unable to start Tomcat from Eclipse Indigo and getting > the > > error below. I checked forums and found that I need to remove servlet.api > > from CLASSPATH. I removed the entry in the "Libraries" and also tried > > removing the file from tomcat/lib. Now, Eclipse is not recognizing > > "javax.servlet.annotation" and some other servlet classes. Please help. > > No. You have to remove it from WEB-INF/lib only. > > Put it back in all other places. > > > Caused by: java.lang.NoSuchMethodError: > > > javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig; > > at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1308) > > ---------------------------------------- > > > Best regards, > Konstantin Kolinko > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >