Also make sure you have an entry in your [webroot]/WEB-INF/web.xml file for the servlet. For example:
<servlet> <servlet-name>CacheHttpServlet</servlet-name> <servlet-class>com.oreilly.servlet.CacheHttpServlet</servlet-class> </servlet> -----Original Message----- From: A. Alfred Ayache [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 5:00 PM To: [EMAIL PROTECTED] Subject: Tomcat and CacheHttpServlet I'm picking my way through Jason Hunter's book, and hit the first example to use his com.oreilly.servlet package. I've successfully compiled the servlet, but when I try to execute it I get an internal server error, with root cause: java.lang.NoClassDefFoundError: com/oreilly/servlet/CacheHttpServlet OK, so the server can't find CacheHttpServlet. How do I hook them up? Thanks, -- A. Alfred Ayache, | 20 years' experience President, The Last Byte, Inc. | Testimonials Custom software par excellence | Links http://www.lastbyte-inc.com | Free Software -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
