小程序无法从 jar 加载类 [英] applet fails to load class from jar

查看:38
本文介绍了小程序无法从 jar 加载类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些用户抱怨小程序不再工作,当他们查看 java 控制台时,他们会看到 java.lang.noClassDefFoundError 并检查我的访问日志,我看到他们已经下载了包含该类的 jar 文件,然后为特定类发出 get 请求.

Some users are complaining that the applet no longer works, When they view the java console they are greeted with a java.lang.noClassDefFoundError and checking my access log's I see they have downloaded the jar file that contains the class, and then issue a get request for the particular class.

不同的用户在不同的班级休息.

Different users break on different classes.

有些用户没问题.

任何可能导致此问题/解决此问题的想法.

Any ideas what could cause this/fix this.

我已经检查以确保文件在他们的 java 缓存中,清除缓存等.似乎没有任何修复它们.

I have checked to make sure the file is in their java cache, cleared the cache etc. nothing seems to fix them.

如果他们访问 qa 站点,它也会中断.

If they hit a qa site it breaks as well.

推荐答案

jar 在传输过程中损坏,我们正在考虑从 oracle/bea 获取服务器补丁.

The jar is getting corrupted in transit, We are looking at getting patches from oracle/bea for the server.

似乎如果连接速度太慢(调制解调器速度),weblogic 将通过发送 len=0 的数据包来表示传输结束.

It appears that if a connection is too slow (Modem speeds) that weblogic will signal the end of a transfer by sending a packet with len=0.

网络将通知 java 下载成功完成,然后 java 失败并显示 java.lang.noClassDefFoundError.

The network will signal java saying the download completed successfully and then java fails with a java.lang.noClassDefFoundError.

这篇关于小程序无法从 jar 加载类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆