Hi All,
I am using DES3 Encryption Algorithm for encrypting and decrypting password.The jdk version which I am using is 1.4.2
When I run my program as an independent standalone application then the entire process (encryption and decryption) runs fine.But when I use my
servlet to call the encrypt or decrypt method then I get the foll. error.
I am using iPlanet 6.0
[17/Apr/2006:12:30:31] failure ( 3548): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/crypto/spec/DESedeKeySpec
at security.BOSEncryption_Citi.(BOSEncryption_Citi.java:41)
at security.BOSEncryption_Citi.decrypt(BOSEncryption_Citi.java:93)
at WebStartUpServlet_Citi.init(WebStartUpServlet_Citi.java:101)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:405)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:165)
at com.iplanet.server.http.servlet.NSServletRunner.(NSServletRunner.java:157)
Plz let me know what is wrong with the code.Or is something wrong with the classpath.
Regards
Nikhil