Search code examples
javastruts2x509certificatenoclassdeffounderroriaik-jce

How to resolve java.lang.NoClassDefFoundError: iaik/x509/X509Certificate?


I am using Struts 2.0 for one application and getting the class not found exception:

java.lang.NoClassDefFoundError: iaik/x509/X509Certificate

After searching some site i found this class is in iaik_jce.jar.Can anyone help me understanding when this jar is required and if the jar is proper

Cannot paste the entire stacktarce.


Solution

  • The issue is resolved adding enttoolkit.jar .

    The jar is available with webmethods client \common\lib\ext\enttoolkit.jar

    The java code is calling service of webmethods,so the jar is required in the java app classpath.