You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "H.F.N. den Boer" <ni...@denboer-ims.nl> on 2001/04/10 15:11:50 UTC
servlet classes cannot be found
Hi there,
I seem to have a slight problem, classes cannot be found.
ISAPI redirecting is OK.
The Tomcat output window says;
Get real path /dejonge D:\tomcat\webapps\imsapps\dejonge
D:\tomcat\webapps\imsapps
404 R( /imsapps + /dejonge + null) null
The error returned to the browser is 404, page cannot be found.
After this error Tomcat still works, but doesn't give output to the console any
more.
The servlet class file is in the classes dir (location:
d:/tomcat/webapps/imsapps/web-inf/classes)
What can be the problem ?
Regards, Nico
Working with:
Tomcat 3.2.1
Win2K, build 5.00.2195
IIS 5.0
Directory structure;
webapps dir
- web.xml file
- etc dir (with html files)
- web-inf dir
-- classes dir
-- lib dir
Contents web.xml:
<servlet>
<servlet-class>nl.dejongemotoren.SrvltA</servlet-name>
<servlet-name>dejonge</servlet-name>
<description>
Application servlet
</description>
</servlet>
<servlet-mapping>
<servlet-name>dejonge</servlet-name>
<url-pattern>/dejonge</url-pattern>
</servlet-mapping>
Re: servlet classes cannot be found
Posted by Nico den Boer <ni...@denboer-ims.nl>.
The Tomcat output window says when I use http://hostname:8080/imsapps/dejonge;
Get real path /dejonge D:\tomcat\webapps\imsapps\dejonge
D:\tomcat\webapps\imsapps
404 R( /imsapps + /dejonge + null) null
If I use http://hostname:8007/imsapps/dejonge it says "Stream broken" with a
stack trace.
Any ideas ?
Nico