Jump to content
Changes to the Jaspersoft community edition download ×

problem occur when print in viewer(applet)


2004 IR Help

Recommended Posts

By: flyfoxlau - flyfoxlau

problem occur when print in viewer(applet)

2005-12-12 00:21

Hi all, please help me.

i run the demowebapp and it show error.

I deply the "webapp" at resin 3.0.15

jasperreport 1.1.0

jsdk1.4.2

error message:

<font color="blue">

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 PrinterApplet$3.run(PrinterApplet.java:185)

at java.lang.Thread.run(Unknown Source)

</font>

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...