Search code examples
javamavenjaroktaokta-api

How do I get the list of jar files to be included in classpath for Okta java-api calls?


I have already built the okta-sdk-0.0.4-SNAPSHOT.jar using maven, and I am able to compile my test api code without issues. https://github.com/okta/oktasdk-java

However, at runtime, the API calls need some more jar files, for example the one that includes packages like: org.apache.http.Header, etc..

Of course I can go on guessing which dependent JAR files are missing in my classpath by looking at the runtime errors, but I am looking for any known list of runtime dependencies.

Thanks,

Jatin


Solution

  • Following are required dependencies. One or two of them might be extra, but the shown list covers all the required ones.

    enter image description here