We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Workbook creation of password protected document

Hi,


While creating the workbook of a password protected xlsx document the following exception occurred. How to handle this case ?

""java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
at com.aspose.cells.zpw.a(Unknown Source)
at com.aspose.cells.zpw.a(Unknown Source)
at com.aspose.cells.Workbook.b(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.(Unknown Source)


Hi Bee,


Thank you for contacting Aspose support.

Please reference the bcprov-jdk16-146.jar file in your project as it is used for the encryption and decryption purposes. Please note, the said JAR is available in Aspose.Cells for Java archive along with aspose-cells-x.x.x.jar.