Hello. I am trying to run my first servlet using Tomcat. As
far as I can tell, I have written my servlet class to conform
to the definitions provided by Sun.
Basically what I did was package my classes up in a .war file
which includes a WEB-INF/web.xml file. The file includes the
following:
<servlet>
<servlet-name>SessionManager</servlet-name>
<description>
This servlet manages sessions and hands out Session IDs
</description>
<servlet-class>com.rapid7.session.SessionManager</servlet-class>
<!-- Load this servlet at server startup time -->
<load-on-startup>5</load-on-startup>
</servlet>
When I run tomcat, it appears to correctly expand the .WAR file, but
I get a message stating:
XmlMapper: Can't find method setDescription in Wrapper(SessionManager null)
CLASS class org.apache.tomcat.core.ServletWrapper
cannot load servlet name: SessionManager
Has anyone seen this before? I searched the archives and couldn't find
any information on this. Pointers to previous threads or pointers to
documentation would be helpful.
Thanks,
Chad