tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Angel Mulero Martinez <miguel-angel.mul...@mad.tecsidel.es>
Subject RE: Dumb Question ../servlet/com.justatest.test.MyServlet error
Date Fri, 20 Sep 2002 06:53:34 GMT
Maybe the InitSnoop.java don't start with "package com.justatest.test;"


-----Mensaje original-----
De: John-Paul Delaney [mailto:jp@justatest.com]
Enviado el: viernes, 20 de septiembre de 2002 12:43
Para: tomcat-user@jakarta.apache.org
Asunto: Dumb Question ../servlet/com.justatest.test.MyServlet error

Hello List...

I've created the directory path:
 <tomcat-root>webapps/jat/WEB-INF/classes/com/justatest/test/

but I get an error when I try to run the oreilly servlet from URL:
http://localhost:8080/jat/servlet/com.justatest.test.InitSnoop


The same servlet will run ok from URL:
http://localhost:8080/jat/servlet/InitSnoop

The exception is:
Cannot allocate servlet instance for
path /jat/servlet/com.justatest.test.InitSnoop

cause:
lang.NoClassDefFoundError: com/justatest/test/InitSnoop (wrong name:
InitSnoop)

Any suggestions on what I'm doing wrong would be appreciated,

thanks
/j-p.

--------------------
JUSTATEST Art Online
www.justatest.com

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message