tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Egyhazy <>
Subject Re: basic servlet move doesn't work
Date Mon, 21 Jan 2002 16:07:10 GMT
did you change the package declaration within the servlet code?

it should be
package dir;

----- Original Message -----
From: "Cressatti, Dominique" <>
To: "Tomcat Users List" <>
Sent: Monday, January 21, 2002 10:53 AM
Subject: basic servlet move doesn't work


I have a very simple example app.
For testing purposes I moved the servlet into a subdirectory.
So before the move I had
and after the move I had

according to the docs I've read I can do such a thing and reflect it
I need edit /webapps/Wide_World/web.xml



which I did (and restated tomcat).
However how such simple change doesn't work?
Now when I try to access again the servlet I get:
...HTTP error status 500...
Error allocating a servlet instance....
root cause
java.lang.NoClassDefFoundError: dir/ForwardServlet (wrong name:

What's going on!


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message