WebView错误:服务器

时间:2016-04-13 03:08:17

标签: javafx javafx-2 javafx-webengine

运行我的JavaFX应用程序后,WebView加载此网址时会抛出错误:http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm

java.lang.Throwable: Connection reset by server
at javafx.scene.web.WebEngine$LoadWorker.describeError(WebEngine.java:1436)
at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1375)
at javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1253)
at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1240)
at com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2400)
at com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2244)
at com.sun.webkit.network.URLLoader.twkDidFail(Native Method)
at com.sun.webkit.network.URLLoader.notifyDidFail(URLLoader.java:862)
at com.sun.webkit.network.URLLoader.lambda$didFail$97(URLLoader.java:845)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)

它适用于我的其他 PC ,但不适用于我当前的 PC 。为什么?这是配置问题吗?我正在使用 Windows 10 而我的其他电脑正在使用 Windows 7 。您认为错误的原因是什么?

0 个答案:

没有答案