日期:2014-05-17 浏览次数:20818 次
jasperPrint=(JasperPrint) request.getSession().getAttribute(BaseHttpServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE);
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt.windows) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPackageAccess(Unknown Source) at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source) at java.lang.Class.checkMemberAccess(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at net.sf.jasperreports.engine.print.JRPrinterAWT.initPrinterJobFields(JRPrinterAWT.java:273) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:140) at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:88) at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:348) at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:239) at net.sf.jasperreports.view.JRViewer$20.run(JRViewer.java:1126) at java.lang.Thread.run(Unknown Source) basic: 模态已推进
//localhost secuerity grant codeBase "http://localhost:80/jasper-webapp/applets/*" { permission java.lang.RuntimePermission "accessClassInPackage.sun.awt.windows"; };