It's been a while for me but:  I think you may want to update your
version of iText as I don't believe 2.1.7 is supported anymore.

 

(updating isn't as painful as you might think).

 

To me it looks like you are missing a library?

 

From: GaneshKumar AppalaNaidu [mailto:pilla.appalanaidu1...@gmail.com] 
Sent: 20 February 2012 10:38
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] PDF Related Issue

 

HI Friends, This is ApplaNaidu.
Client requirement is file sending or saving with password protection
through.
but at this time it will raise the given below error.
If any one know the given below error please send me the solution
details..

Error:
 
Exception occurred during event dispatching:
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.shareitsmart.utils.PDFCompiler.process(PDFCompiler.java:67)
    at
com.shareitsmart.ui.JDialogSaveAs$2.actionPerformed(JDialogSaveAs.java:1
74)
    at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2
318)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.ja
va:387)
    at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonList
ener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6288)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6053)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4651)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4481)
    at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4481)


I am waiting for your mail.
Present i am using jdk1.6,tomcat 6,Itext 2.1.7.


-- 

Thanks & Regards  

AppalaNaidu.Pilla
KTree Computer Solutions India (P) Ltd.
Email: pilla.applana...@goktree.com <http://ktree.com/> 

Office: 040-23350412/13

Mobile: +91-9032429105

Website:www.kt <http://www.ktree.com/> ree.com <http://www.ktree.com/> 



This email was received from the INTERNET and scanned by the Government
Secure Intranet anti-virus service supplied by Cable&Wireless Worldwide
in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.)
In case of problems, please call your organisation's IT Helpdesk. 
Communications via the GSi may be automatically logged, monitored and/or
recorded for legal purposes.

Land Registry's House Price Index is now live. www.landregistry.gov.uk


If you have received this e-mail and it was not intended for you, please let us 
know, and then delete it. Please treat our communications in confidence,
as you would expect us to treat yours. Land Registry checks all mail and 
attachments for known viruses, however, you are advised that you open any
attachments at your own risk.

The original of this email was scanned for viruses by the Government Secure 
Intranet virus scanning service supplied by Cable&Wireless Worldwide in 
partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On 
leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to