正在加载 Java Applet ...网络:未找到缓存条目
我已经用Applet 完成了所有的事情。我在服务器上发布了小程序。它在所有机器上从 IE 运行良好。但它不能在 Firefox 上运行。下面是相同的堆栈跟踪。请提供同样的建议。
小程序代码:
public void init()
{
showInst();
}
public void showInst()
{
Inst inst = new ANTInst();
JFrame app = new JFrame("Test App");
app.getContentPane().add(instruction, "Center");
app.setResizable(false);
instruction.setFrameHandler(app);
app.show();
}
basic: Loading Java Applet ...
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null]
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null]
<applet code=ANT.class width=300 height=300>
</applet>
我已检查 java 是否已安装更新版本 请在下面找到更多日志
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@13d93f4
basic: Loading Java Applet ...
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null]
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null]
I have done with All stuff with Applet. I published the applet on the server. It is running fine from IE on all machines. But it is not running on firefox. Below is the stack trace for the same. Please advise for the same.
Code of Applet:
public void init()
{
showInst();
}
public void showInst()
{
Inst inst = new ANTInst();
JFrame app = new JFrame("Test App");
app.getContentPane().add(instruction, "Center");
app.setResizable(false);
instruction.setFrameHandler(app);
app.show();
}
basic: Loading Java Applet ...
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null]
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null]
<applet code=ANT.class width=300 height=300>
</applet>
I have check that java is installed with updated version
Please find more logs below
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@13d93f4
basic: Loading Java Applet ...
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null]
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否检查 Java 插件 在 Firefox 中运行吗?
编辑:
显然,FF 需要 Java 6 Update 10(或更高版本)才能工作。
Have you checked that the Java plugin is working in Firefox?
Edit:
Apparently, FF requires Java 6 Update 10 (or above) to work.
我做了这些改变,经过大量搜索后,它对我来说工作得很好。
转到
在运行时参数中添加此行
I had made these changes and after that it was working fine for me after searching a lot.
Go to
IN run time parameters add this line