My Oracle Support Banner

Cannot Load RequestService API From An External Client (Doc ID 2726163.1)

Last updated on JUNE 05, 2023

Applies to:

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

Symptoms

Cannot Load RequestService API From An External Client. When invoking the code

this.requestService = oimClient.getService(RequestService.class);

Following exception is seen:

Exception in thread "main" oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:281)
at oracle.iam.platform.OIMClient.getService(OIMClient.java:258)
at com.idmworks.utils.RequestUtils.<init>(RequestUtils.java:49)
at com.idmworks.clients.OIM12cClient.initUtils(OIM12cClient.java:99)
at com.idmworks.clients.OIM12cClient.connect(OIM12cClient.java:80)
at oim12cclient.Main.main(Main.java:68)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:277)
... 5 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/persistence/indirection/ValueHolderInterface
at java.lang.Class.forName0(Native Method)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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