You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Caldarale, Charles R" <Ch...@unisys.com> on 2007/08/02 20:06:01 UTC

RE: javax.servlet.ServletException: Cannot allocate servlet instancefor path /servlet/HelloWorld

> From: Fabbris Pierluigi [mailto:pierluigi.fabbris@poste.it] 
> Subject: javax.servlet.ServletException: Cannot allocate 
> servlet instancefor path /servlet/HelloWorld
> 
> java.lang.IllegalAccessException: Class 
> org.apache.catalina.core.StandardWrapper can not access a 
> member of class HelloWorld with modifiers ""

You've likely not used the public modifier on your doGet(), etc.,
methods.

If that's not the case, post your servlet code to the list.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org