Hi ApplaNaidu,

On 20 February 2012 11:38, GaneshKumar AppalaNaidu <
pilla.appalanaidu1...@gmail.com> wrote:

> 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:174)
>     at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>     at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
>     at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
>     at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
>     at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.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.
>

Current version is 5.1.3.
iText 2.1.7 is almost 3 years old, and is not supported anymore.

The only help you're likely to get on this free mailing list is:

The stacktrace is self-explanatory : a class from the org.bouncycastle was
not found. Download the necessary bouncycastle libraries, include them in
the class path, and that should fix it.

Cheers,
alexis
------------------------------------------------------------------------------
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