Jump to content
JasperReports 7.0 is now available ×

Export Options not working in the Ireport Designer Professional 5.0.0


nikhil_kulkarni03

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 1
  • 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...