I am trying to get a servlet to run using JServ b2 with Apache 1.3.4 on NT4 
(sp 3).

I can get the status and configuration of JServ using 
http://127.0.0.1/jserv/, but I am now trying to run my own servlet called 
MapServlet. I have set up the properties files as per the 'How to install 
servlets' instructions, including using an alias called map 
servlet.map.code=MapServlet). I have a jar file called MapServlet.jar in 
the servlets directory containing this class which does not belong to a 
package.

When I try to run the servlet (http://host/servlets/map/) I get the 'URL 
Not Found' error in the browser and the following error in the 
mod_jserv.log file:

[06/04/1999 12:05:37:519] (ERROR) ajp11: Servlet Error: 
NoClassDefFoundError: MapServlet

I have tried placing this class in a package and using proper paths etc. 
but I get the same error, except the packages name appears before the 
class.

Thanks,
Alex Packwood.


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to