My Oracle Support Banner

Oracle Mobile & Social Java Client SDK API Is Not Working : cannot access oracle.security.idaas.common.util.OICBaseException (Doc ID 1496341.1)

Last updated on AUGUST 08, 2018

Applies to:

Oracle Access Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Compiling sample code referring to

http://docs.oracle.com/cd/E27559_01/dev.1112/e27134/mobilejavasdk.htm#BABEJIHG

8 Developing Mobile Services Applications with the Java Client SDK

Errors as below:

 

-bash-3.2$ export CLASSPATH=/refresh/home/Oracle/Middleware4R2/user_projects/domains/base_domain/servers/oam_server1/tmp/_WL_user/oam_server_11.1.2.0.0/4r82fs/war/WEB-INF/lib/oic_clientsdk.jar

-bash-3.2$ ls /refresh/home/Oracle/Middleware4R2/user_projects/domains/base_domain/servers/oam_server1/tmp/_WL_user/oam_server_11.1.2.0.0/4r82fs/war/WEB-INF/lib/oic_clientsdk.jar
/refresh/home/Oracle/Middleware4R2/user_projects/domains/base_domain/servers/oam_server1/tmp/_WL_user/oam_server_11.1.2.0.0/4r82fs/war/WEB-INF/lib/oic_clientsdk.jar

-bash-3.2$ /refresh/home/jrockit-jdk1.6.0_29-R28.2.0-4.0.1/bin/javac JavaDesktopClient.java

JavaDesktopClient.java:52: cannot access oracle.security.idaas.common.util.OICBaseException
class file for oracle.security.idaas.common.util.OICBaseException not found
tc = new AuthenticationClient(cc);
    ^
JavaDesktopClient.java:70: unreported exception oracle.security.idaas.rest.jaxrs.client.sdk.OICClientException; must be caught or declared to be thrown
AuthenticationResult savedClientToken = tc.createToken(tcrd, headers);

 

 

 

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
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.