tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manohar Kamath <>
Subject java.lang.ClassFormatError on Servlet
Date Tue, 08 Apr 2003 12:12:38 GMT

Dear All,

I am finding a strange problem with a servlet.

No problem while compiling, but i am getting problem while calling the servlet

throws error :

type Exception report


description The server encountered an internal error () that prevented it from fulfilling
this request.

javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/MyServlet
at org.apache.catalina.servlets.InvokerServlet.serveRequest(	at org.apache.catalina.servlets.InvokerServlet.doGet(
at javax.servlet.http.HttpServlet.service(

root cause 
java.lang.ClassFormatError: MyServlet (Extra bytes at the end of the class file)	at java.lang.ClassLoader.defineClass0(Native
Method)	at java.lang.ClassLoader.defineClass(	at


will anyone can help on this


thanks in advance,

Manohar Kamath


Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message