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

本文探讨了在WebLogic服务器上部署Web应用时遇到的JavaApplet问题,包括重定向到登录页面导致的ClassFormatError错误、weblogic.xml配置问题及404错误的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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"


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值