java.lang.ClassFormatError: Incompatible magic value 218762506 in class file

http://bugs.sun.com/view_bug.do?bug_id=4975146

 

http://forums.oracle.com/forums/thread.jspa?threadID=933725&tstart=0

 

web应用发布在WebLogic上,使用java applet发生如上问题。

可能的原因:

1、It appears that for some reason it is redirecting to the login page, which it is attempting to read as a Java class resulting in ClassFormatError. (这就是我的情形)

2、Please check if your .../server/lib/consoleapp/webapp/WEB-INF/weblogic.xml has the cookie-http-only disabled (as below).

<cookie-http-only>false</cookie-http-only>

3、404问题,可以改动 META-INF/services/javax.xml.parsers.DocumentBuilderFactory "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"


你可能感兴趣的:(java,oracle,Web,weblogic,sun)