Export Options not working in the Ireport Designer Professional 5.0.0

0

Hi All,

Can any one please suggest,

I am using Ireport 5.0.0 ,I am trying to give password protection for pdf files,When I try doing this by giving the owner passwod and user password and run getting this error,

steps tools->exportoptions->security

encryptiontype ->standard

added external jars,Itext - 2.1.0.jar,bcprov - jdk16 - 1.46.jar

Error exporting print... org/bouncycastle/asn1/ASN1OctetString
java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1OctetString 
    at com.lowagie.text.pdf.PdfEncryption.<init>(Unknown Source) 
    at com.lowagie.text.pdf.PdfWriter.setEncryption(Unknown Source) 
    at com.lowagie.text.pdf.PdfWriter.setEncryption(Unknown Source) 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:519) 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:417) 
    at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:1174) 
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) 
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) 
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.ASN1OctetString 
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 
    at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:252) 
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247) 
    ... 8 more

Thanks,

Nikhil Kulkarni

nikhil_kulkarni03's picture
Joined: Jun 11 2013 - 11:17pm
Last seen: 5 years 11 months ago

1 Answer:

0
Thomas Zimmer's picture
Joined: Oct 2 2012 - 1:35am
Last seen: 5 days 11 hours ago
Feedback
randomness