You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "White, Joshua A (CASD, IT)" <Jo...@thehartford.com> on 2003/03/05 14:03:57 UTC

Extra bytes at the end of the class file

I received a javax.servlet.ServletException: "Extra bytes at the end of the
class file" when trying to get an instance of a singleton class
(someclass.getInstance()).  What does this mean?

Joshua



This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


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


Re: Extra bytes at the end of the class file

Posted by Becky Norum <bn...@coe.neu.edu>.
Joshua,

Try recompiling the class - I've heard that this can happen when the JVM
and compiler are different, especially if the compiler is old.

-- 
Becky Norum
Database Administrator
Center for Subsurface Sensing and Imaging Systems (CenSSIS)
Northeastern University
http://www.censsis.neu.edu


On Wed, 2003-03-05 at 08:03, White, Joshua A (CASD, IT) wrote:
> I received a javax.servlet.ServletException: "Extra bytes at the end of the
> class file" when trying to get an instance of a singleton class
> (someclass.getInstance()).  What does this mean?
> 
> Joshua
> 
> 
> 
> This communication, including attachments, is for the exclusive use of 
> addressee and may contain proprietary, confidential or privileged 
> information. If you are not the intended recipient, any use, copying, 
> disclosure, dissemination or distribution is strictly prohibited. If 
> you are not the intended recipient, please notify the sender 
> immediately by return email and delete this communication and destroy all copies.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org




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