Monday, 13 January 2014

OIM Design Console: java.lang.NoClassDefFoundError: javax/ejb/CreateException

java.lang.NoClassDefFoundError: javax/ejb/CreateException

Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/CreateException
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(
        at java.lang.Class.getDeclaredMethod(
        at java.awt.Component.isCoalesceEventsOverriden(
        at java.awt.Component.access$500(
        at java.awt.Component$
        at java.awt.Component$
        at Method)
        at java.awt.Component.checkCoalescing(
        at java.awt.Component.<init>(
        at java.awt.Container.<init>(
        at java.awt.Window.<init>(
        at java.awt.Frame.<init>(
        at java.awt.Frame.<init>(
        at javax.swing.JFrame.<init>(
        at com.thortech.xl.gui.base.tcFrame.<init>(
        at com.thortech.xl.client.base.tcAppWindow.<init>(
        at com.thortech.xl.client.base.tcAppWindow.main(
Caused by: java.lang.ClassNotFoundException: javax.ejb.CreateException
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 18 more

This Error is caused by not having the “wlfullclient.jar” file in order to generate this, you need to cd to
And run:
java -jar wljarbuilder.jar

This takes a while depending on how good the server is, but also outputs a lot, so don’t be afraid of this. Copy that file to your OIM Home /designconsole/ext
If you need to, you must FTP that to your local machine.