Incompatible Magic value in jfileupload

Enhanced frontend add-on to queue files.

Incompatible Magic value in jfileupload

Postby tharp » Tue Feb 28, 2012 1:56 pm

I am receiving the following error when trying to load JBatchUpload. I have performed some google searches and discovered that the error message means that I have downloaded a corrupted zip file. The solution given is to re-download the zip directly to the server and unzip and install directly. I have done this and am still receiving this message. I have even tried both 2.8 and 2.9 versions of jbatch and jfile. I can get both versions's included example to load without issue on my local machine so I know that I have to be missing something.

In terms of the intended server, I have modified the MIME types to allow .properties, which fixed a previous "Can't find the jfileupload .jar" error message.

Java Plug-in 1.6.0_31
Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM
User home directory = C:\Users\stharp

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

java.lang.ClassFormatError: Incompatible magic value 218774632 in class file jfileupload/upload/client/MApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 218774632 in class file jfileupload/upload/client/MApplet


Thanks in advance for any and all help.
tharp
 
Posts: 2
Joined: Tue Feb 28, 2012 1:34 pm

Return to JBatchUpload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.