View Full Version : creating a servlet

07-16-2007, 06:18 AM
I have tried to deploy my own servlet class file called “Helloservlet” in Pentaho.war context directory.
I'd put my servlet class file in the pentaho.war/WEB-INF/classes directory.
I have mapped for my servlet in the deployment descriptor file as follows:



I've Started the JBOSS 4.0 server. It reports the following error:

Caused by classNotFoundException: Helloservlet

For that I have added my servlet called ‘Helloservlet’ to a jar file named myservlet.jar and put it in a pentaho.war/WEB-INF/lib directory. Then restart the JBOSS server.
Again I got the above error. Kindly give me a correct solution