Hi AppalaNaidu,

try the most obvious:
Add the class that's missing the classpath, in this case the bouncy
castle jar ... maybe you should refresh your Java basics ..

Greetings,

Andreas
> 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.
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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


-- 
Andreas Kühne 
phone: +49 177 293 24 97 
mailto: [email protected]

Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna 
Amtsgericht Hamm HRB 5868

Directors Andreas Kühne, Heiko Veit

Company UK Company No: 5218868 Registered in England and Wales 

------------------------------------------------------------------------------
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
[email protected]
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