我开发了一个链接到某个站点的javafx(2.2)应用程序.该应用程序在netbeans 7.3中正常运行,但是当我部署它时,将发生以下错误.
java.lang.UnsatisfiedLinkError: com.sun.deploy.config.WinPlatform.getPlatformUserHome()Ljava/lang/String;
at com.sun.deploy.config.WinPlatform.getPlatformUserHome(Native Method)
at com.sun.deploy.config.WinPlatform.getUserHome(Unknown Source)
at com.sun.deploy.config.WinPlatform.getLocalStorageDir(Unknown Source)
at com.sun.deploy.config.Config.getLocalStorageDir(Unknown Source)
at com.sun.deploy.config.Config.getDefaultCacheDirectory(Unknown Source)
at com.sun.deploy.config.DefaultConfig.init(Unknown Source)
at com.sun.deploy.config.DefaultConfig.<init>(Unknown Source)
at com.sun.deploy.config.DefaultConfig.getDefaultConfig(Unknown Source)
at com.sun.deploy.config.Config.get(Unknown Source)
at com.sun.deploy.net.proxy.UserDefinedProxyConfig.getBrowserProxyInfo(Unknown Source)
at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.javafx.main.Main.tryToSetProxy(Main.java:572)
at com.javafx.main.Main.launchApp(Main.java:640)
at com.javafx.main.Main.main(Main.java:805)
Run Code Online (Sandbox Code Playgroud)
我真的不知道问题的原因是什么.这是我使用的代理或平台吗?我正在使用java 1.7 32bit希望有人会帮助我.谢谢.
我有一个带有嵌入式jetty服务器的war文件.我想在线部署它.我该怎么办?我尝试在IDE中运行它运行良好,但我对如何在线部署感到困惑?我不想每次尝试像IDE那样运行我的应用程序时启动服务器.例如,我想输入" http://119.81.44.73/myapp",然后我的主页就会显示出来.我可以请一些帮助来指导如何做到这一点.或者是否需要在线部署它?