Hi,
I’m trying to invoke a webMethods service from a java client, but I’m getting a java.lang.NoClassDefFoundError.
I can compile the java code, but I’m not able to run it…
Exception in thread “main” java.lang.NoClassDefFoundError: iaik/x509/X509Certificate
at com.wm.net.HttpURLConnection.getHttpURLConnection(HttpURLConnection.java:101)
at com.wm.app.b2b.client.BaseContext.getURLConnection(BaseContext.java:457)
at com.wm.app.b2b.client.Context.invoke(Context.java:950)
at com.wm.app.b2b.client.Context.invoke(Context.java:900)
at com.wm.app.b2b.client.Context.connect(Context.java:541)
at Monitoring.main(Monitoring.java:37)
Caused by: java.lang.ClassNotFoundException: iaik.x509.X509Certificate
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
… 6 more
Anyone any idea how to solve this?
Best regards