error in JSP invoing applets
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rajesh_kumar
Posted On:   Tuesday, March 9, 2004 09:32 PM

Please use html tags to format code blocks. I am trying to invoke an applet from JSP i am getting the following error java.lang.ClassFormatError: com/epermit/print/JK69Applet$JK69PrintObject (Bad magic number) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Sorce) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) t .security.AccessController.doPrivileged (Native Method) at java.net.URLClassLoader.findC   More>>

			


Please use html tags to format code blocks.

I am trying to invoke an applet from JSP i am getting the
following error

java.lang.ClassFormatError:
com/epermit/print/JK69Applet$JK69PrintObject (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Sorce)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
t .security.AccessController.doPrivileged
(Native Method) at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)br>atjava.lang.ClassLoader.loadClassInternal(Unknown Source)
atcom.epermit.print.JK69Applet.printNow
JK69Applet.java:42)at com.epermit.print.JK69Applet.startJK69Applet.java:23)

at sun.applet.AppletPanel.run(Unknown Source)
atjava.lang.Thread.run(Unknown Source)
java.lang.ClassFormatError: permit/print/JK69Applet$JK69PrintObject (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass
(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.epermit.print.JK69Applet.printNow(JK69Applet.java:42) at com.epermit.print.JK69Applet.start(JK69Applet.java:23)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

   <<Less

Re: error in JSP invoing applets

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, March 10, 2004 06:20 AM

com/epermit/print/JK69Applet$JK69PrintObject (Bad magic number)


Sounds like you better recompile.

About | Sitemap | Contact