Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OIM Client - java.lang.NoClassDefFoundError Exception from jar

Joshua LanAug 23 2018 — edited Aug 27 2018

Hi experts,

I have coded a simple Java program for OIM API using JDeveloper 12c (12.2.1.3.0). The problem I have is with my deployed .jar file, it prompted me with java.lang.NoClassDefFoundError exception when I run the jar via cmd. (java -jar MyClient.jar)

pastedImage_0.png

But I am manage to run the java program successfully in JDeveloper. (ignore the login error, its expected). Somehow it didn't prompt me the missing class error.

pastedImage_2.png

I have already did the class-path linkage and I have checked the content of the deployed jar, its has all the required libraries inside.

Really need advise on this.

Regards,
Joshua

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2018
Added on Aug 23 2018
2 comments
424 views