Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient



Error :

Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platform/OIMClient
at com.provision.processFailedTasksModified$OIMConnection.connection(processFailedTasksModified.java:115)
at com.provision.processFailedTasksModified$OIMConnection.getConnection(processFailedTasksModified.java:127)
at com.provision.processFailedTasksModified.main(processFailedTasksModified.java:20)
Caused by: java.lang.ClassNotFoundException: oracle.iam.platform.OIMClient
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:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 3 more



issue: Missing  server/client/oimclient.jar in classpath.

Solution :  Add server/client/oimclient.jar into classpath

ex: 
java -cp .:/$OIM_HOME/server/client/oimclient.jar:$middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:/$OIM_HOMEserver/apps/oim.ear/APP-INF/lib/commons-logging.jar:$middleware/wlserver_10.3/server/lib/wlfullclient.jar com/provision/processFailedTasksModified
   

No comments:

Post a Comment

About OIM

Oracle Identity Management enables organizations to effectively manage the end - to - end life - cycle of user ide...

Popular Posts