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

Reply via email to