oracle.iam.platform.utils.NoSuchServiceException

java.lang.reflect.InvocationTargetException

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web54

  • via Oracle Community by 895011, 11 months ago
    java.lang.reflect.InvocationTargetException
  • via Oracle Community by 914361, 11 months ago
    java.lang.reflect.InvocationTargetException
  • via Oracle Community by uz_jaswal, 11 months ago
    java.lang.reflect.InvocationTargetException
  • Stack trace

    • oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:279) at oracle.iam.platform.OIMClient.getService(OIMClient.java:256) at comp.iam.oim.client.ClientRequest.<init>(ClientRequest.java:25) at compiam.oim.client.RequestResourceCreate.<init>(RequestResourceCreate.java:44) at comp.iam.oim.client.RequestResourceCreate.main(RequestResourceCreate.java:57) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:275) ... 4 more Caused by: java.lang.NoClassDefFoundError: org/eclipse/persistence/indirection/ValueHolderInterface at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at $Proxy4.<clinit>(Unknown Source) at sun.reflect.GeneratedSerializationConstructorAccessor23.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:924) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1736) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208) at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:204) at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62) at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:243) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259) at weblogic.jndi.internal.ServerNamingNode_1036_WLStub.lookup(Unknown Source) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:424) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:412) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132) at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130) at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155) at oracle.iam.request.api.RequestServiceDelegate.<init>(Unknown Source) ... 9 more Caused by: java.lang.ClassNotFoundException: org.eclipse.persistence.indirection.ValueHolderInterface 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:305) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:246) ... 34 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    11 times, 1 month ago
    Unknown user
    2 times, 2 months ago
    3 times, 3 months ago
    Once, 4 months ago
    Unknown user
    Once, 4 months ago
    1232 more bugmates