Unable to load class

Hi

Constructor threw exception; nested exception is com.okta.commons.lang.UnknownClassException: Unable to load class named [com.okta.authn.sdk.impl.client.DefaultAuthenticationClientBuilder] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found.

I get this error when I use this as it says in your documentation;

AuthenticationClient client = AuthenticationClients.builder()
.setOrgUrl(“https://dev-08103053.okta.com/”)
.build();

How to resolve this?

Hi @windking! Please share what your dependencies - GitHub - okta/okta-auth-java: okta-auth-java look like.