You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/09/13 07:04:41 UTC

DO NOT REPLY [Bug 36630] New: - Error instantiating servlet class

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36630>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36630

           Summary: Error instantiating servlet class
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bht@actrix.gen.nz


"Error instantiating servlet class <servlet class name>"

This exception message is printed in the log file when a class used by a servlet
cannot be instantiated.

The developer will eventually be able to guess the class and add it to the
classes/jars directory under [install-dir]/shared/.

However, the class loader should print in its error message the name of the
class that it cannot find.

The curent error message is misleading, as the missing class NOT the servlet
class that is printed in the message.

How to reproduce:

- Write a servlet that uses a class that is not part of the JRE and not part of
the classes supplied by Tomcat.
- Try to load your servlet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org