java.lang.ClassFormatError: com/tataaig/MyApplet (Truncated class file)
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Achyuth_Belgundi
Posted On:   Monday, March 8, 2004 08:07 AM



Dear All,


I am trying to invoke Applet from IBM Websphere 5.1. I get an error message "java.lang.ClassFormatError: com/tataaig/MyApplet (Truncated class file)"


Below is my html code:



Re: java.lang.ClassFormatError: com/tataaig/MyApplet (Truncated class file)

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, April 14, 2004 06:39 AM

Oh, the problem is probably that a client cannot use a URL with "WEB-INF" in it. You'll have to move the class file to somewhere that is accessible to a client!

Re: java.lang.ClassFormatError: com/tataaig/MyApplet (Truncated class file)

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, March 8, 2004 02:18 PM

"java.lang.ClassFormatError: com/tataaig/MyApplet (Truncated class file)"


Either you need to recompile it because the .class file is bad, or else something is interfering with the download, causing the client to only get part of it?

About | Sitemap | Contact