gpt4 book ai didi

Java Applet、Internet Explorer 和 Fiddler

转载 作者:行者123 更新时间:2023-12-02 08:36:24 26 4
gpt4 key购买 nike

希望最新的 Java 运行时(1.5 或 1.6)小程序插件支持使用 Internet Explorer Web 堆栈下载 .jar 文件吗?我问的原因是我在Fiddler中看不到该请求。更多背景信息 - 我正在尝试解决此错误:

load: class at.workforce.applet.VMVersionApplet.class not found.
java.lang.ClassNotFoundException: at.workforce.applet.VMVersionApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.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)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: at.workforce.applet.VMVersionApplet.class

最佳答案

// Specify proxy settings
sysProperties.put("proxyHost","myhost");
sysProperties.put("proxyPort","myport");
sysProperties.put("proxySet", "true");

如果您知道“myhost”和“myport”的含义,那就太好了......

尝试使用 localhost 或 127.0.0.1 对我来说仍然不起作用:-(

关于Java Applet、Internet Explorer 和 Fiddler,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1626037/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com