My Oracle Support Banner

List Of Jars Required to Connect OIG 12.2.1.4.0 Using API Through JDeveloper 12.2.1.4.0 (Doc ID 2836339.1)

Last updated on APRIL 12, 2023

Applies to:

Identity Manager - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

Goal of the document is to provide the list of jars required to connect OIG 12.2.1.4.0 using API through JDeveloper 12.2.1.4.0.

While using APIs through JDeveloper, you may get the following errors when required jars are missing in the classpath.

--------------------
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/jndi/JndiTemplate
at oracle.iam.platform.OIMClient.<init>(OIMClient.java:105)
at com.example.util.OIMUtil.connectOIM(OIMUtil.java:41)
at com.example.OIMUser.<init>(OIMUser.java:33)
at com.example.OIMUser.main(OIMUser.java:114)
Caused by: java.lang.ClassNotFoundException: org.springframework.jndi.JndiTemplate
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 4 more
-------------------

-------------------
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/idm/diagnostics/client/ContextSensitiveLogger
at oracle.iam.platform.auth.client._.(_.java:39)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:60)
at oracle.iam.platform.OIMClient.login(OIMClient.java:213)
at oracle.iam.platform.OIMClient.login(OIMClient.java:197)
at com.simio.amit.GETConnection.oimConnection(GETConnection.java:24)
at com.simio.amit.GETConnection.main(GETConnection.java:59)
Caused by: java.lang.ClassNotFoundException: oracle.idm.diagnostics.client.ContextSensitiveLogger
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 6 more
-------------------

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.