点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)由于我安装了Java 7.5 r...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)由于我安装了Java 7.5 r...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
由于我安装了Java 7.5 rev 5和OpenJDK的SAP GUI,因此无法从"打印预览"窗口中进行打印。 我在macOS Mojave上运行。 这是我得到的错误:
详细信息:
存在未捕获的AccessControlException: 访问被拒绝(" java.io.FilePermission"" <<所有文件>>""执行") ================================================== =========== 请求环境 ================================================== =========== CS:/Applications/SAP%20Clients/SAPGUI%207.50rev5/SAPGUI%207.50rev5.app/Contents/Resources/Java/platinr3S.jar PL:com.sap.platin.base.security.SAPGUIPolicy PR:权限java.io.FilePermission" <<所有文件>>","执行"; PR:规范文件名:/Applications/SAP Clients/SAPGUI 7.50rev5/<<所有文件>> ================================================== =========== 临时权限 ================================================== =========== 密钥:loadFont的WebView权限 { 权限javafx.util.FXPermission" createTransparentWindow"; 权限javafx.util.FXPermission" loadFont"; } 钥匙:52d69a1c 主体com.sap.platin.base.security.GuiSessionPrincipal" PRD:*:*:52d69a1c" { 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work","读,写,删除"; 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/*","读,写,删除"; 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/*","读,写,删除"; 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp","读,写,删除"; 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/-","读,写,删除"; 权限java.io.FilePermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/-","读,写,删除"; 权限com.sap.platin.base.security.ApplicationPermission"/img/Users/leo/Desktop/-"," openDocument"; 权限com.sap.platin.base.security.ApplicationPermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/*"," openDocument"; 权限com.sap.platin.base.security.ApplicationPermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/*"," openDocument"; 权限com.sap.platin.base.security.ApplicationPermission"/img/Users/leo/Desktop/*"," openDocument"; 权限com.sap.platin.base.security.ApplicationPermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/work/-"," openDocument"; 权限com.sap.platin.base.security.ApplicationPermission"/var/folders/n3/0g6kh9_j1cl0x0wsr2kjy23w0000gn/T/leo/SAPGUI/PRD.52d69a1c/tmp/-"," openDocument"; } 密钥:IcePDF字体文件夹 { 权限java.io.FilePermission"/img/Library/Fonts"," read"; 权限java.io.FilePermission"/img/Network/Library/Fonts/*"," read"; 权限java.io.FilePermission"/img/Users/leo/Library/Fonts/*"," read"; 权限java.io.FilePermission"/img/Library/Fonts/*"," read"; 权限java.io.FilePermission"/img/Network/Library/Fonts"," read"; 权限java.io.FilePermission"/img/System/Library/Fonts/*"," read"; 权限java.io.FilePermission"/img/System/Library/Fonts"," read"; 权限java.io.FilePermission"/img/Users/leo/Library/Fonts"," read"; } 技术细节 java.security.AccessControlException:访问被拒绝(" java.io.FilePermission"" <<所有文件>>""执行") 位于:java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) 位于:java.base/java.security.AccessController.checkPermission(AccessController.java:895) 位于:java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322) 位于:java.base/java.lang.SecurityManager.checkExec(SecurityManager.java:572) 位于:java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1096) 位于:java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071) 位于:java.base/java.lang.Runtime.exec(Runtime.java:591) 在:java.base/java.lang.Runtime.exec(Runtime.java:415) 位于:java.base/java.lang.Runtime.exec(Runtime.java:312) 网址:org.icepdf.ri.common.PrintHelper.getUserPrinterProperty(PrintHelper.java:640) 网址:org.icepdf.ri.common.PrintHelper.lookupDefaultPrintService(PrintHelper.java:611) 网址:org.icepdf.ri.common.PrintHelper.lookForPrintServices(PrintHelper.java:590) 位于:org.icepdf.ri.common.PrintHelper。screen-shot-2019-02-24-at-005304.jpg (69.1 kB)(PrintHelper.java:102) 位于:org.icepdf.ri.common.SwingController.initialisePrinting(SwingController.java:3793) 网址:org.icepdf.ri.common.SwingController.lambda $ print $ 7(SwingController.java:3759) 在:java.base/java.lang.Thread.run(Thread.java:834)
我将等待版本6的发布。同时,让我指出,即使通过访问方法'G'使用后端打印,也会发生错误。
最好的问候
Riccardo
一周热门 更多>