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

1.5k Views Asked by At

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.

1

There are 1 best solutions below

0
soumitra chatterjee On BEST ANSWER

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.