NoClassDefFoundError while creating instance of Cipher class
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Naim_Kazi
Posted On:   Friday, August 5, 2005 12:21 AM

Hi, I am getting an error as "NoClassDefFoundError" when trying to create instance of Cipher class. Cipher rsaCipher= Cipher.getInstance("RSA/PKCS1/PKCS1") When I stop/start the iPlanet server, for the first time it gives me the error "error: APPLOGIC-caught_exception: Caught Exception: java.lang.ClassCastException: java.lang.ExceptionInInitializerError" and when I try to execute it again it gives me the error "error: APPLOGIC-caught_exception: Caught Exception: java.lang.ClassCastException: java.lang.NoClassDefFoundError". Can anybody help me in this. It is very urgent. Thanks in advance. Regards,    More>>

Hi,

I am getting an error as "NoClassDefFoundError" when trying to create instance of Cipher class.

Cipher rsaCipher= Cipher.getInstance("RSA/PKCS1/PKCS1")

When I stop/start the iPlanet server, for the first time it gives me the error

"error: APPLOGIC-caught_exception: Caught Exception:
java.lang.ClassCastException: java.lang.ExceptionInInitializerError"

and when I try to execute it again it gives me the error "error: APPLOGIC-caught_exception: Caught Exception:
java.lang.ClassCastException: java.lang.NoClassDefFoundError".

Can anybody help me in this. It is very urgent.

Thanks in advance.


Regards,

Naim Kazi.

   <<Less
About | Sitemap | Contact