JavaFX代码无法连接到泽西Web服务

时间:2013-04-29 13:19:46

标签: java web-services security jersey javafx

我正在构建一个我想在浏览器中运行的JavaFX GUI。 GUI连接到Jersey Webservice,如果我将JavaFX代码作为独立运行,则运行正常,但是,如果我在浏览器中运行,我会得到以下异常。我已经自我签署了我的jar文件,问题仍然存在: Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "com.sun.jersey.core.util.ReaderWriter.BufferSize" "read") at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at com.sun.jersey.core.util.ReaderWriter.getBufferSize(ReaderWriter.java:91) at com.sun.jersey.core.util.ReaderWriter.(ReaderWriter.java:87)

提前致谢。

0 个答案:

没有答案