I've recently installed JBoss-2.4.0_Tomcat-3.2.2 and I'm now starting to
experiment with all the JBoss samples. The first, Interest, contains a
servlet that I'm trying to get up and running. This InterestServlet is in a
package org.jboss.docs.interest which I've compiled and placed in
webapps\demo\WEB-INF\classes\org\jboss\docs\interest
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>From your NoClassDef message it doesn't seem like the problem is in your
servlet
being in a package. It is finding the correct package but it's looking for
the
class Interest instead of InterestServlet. Although your snipping in your
original post looked fine make sure there are no extra spaces in the class
name for the
web.xml. Also, can you get any servlet mappings to work for servlets in
packages?
If so I would review your web.xml again very closely and look for
missing/extra tags or characters.
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com