# SDK library - com.okta.sdk.impl.client.BaseClient

**URL:** <https://devforum.okta.com/t/sdk-library-com-okta-sdk-impl-client-baseclient/23654>\
**Category:** API\
**Created:** [March 15, 2023, 11:31pm UTC](https://devforum.okta.com/t/sdk-library-com-okta-sdk-impl-client-baseclient/23654 "2023-03-15T23:31:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joa](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@joa](https://devforum.okta.com/u/joa)\
**Post date:** [March 15, 2023, 11:31pm UTC](https://devforum.okta.com/t/sdk-library-com-okta-sdk-impl-client-baseclient/23654/1 "2023-03-15T23:31:05Z")

</div>

Hi there, I am writing a simple java program to Authenticate to OKTA using the authn sdk. Seems that the libraries I am using is missing the above class. Here are my maven deps:  
**import** com.okta.authn.sdk.AuthenticationException;  
**import** com.okta.authn.sdk.AuthenticationStateHandler;  
**import** com.okta.authn.sdk.client.AuthenticationClient;  
**import** com.okta.authn.sdk.client.AuthenticationClients;  
**import** com.okta.authn.sdk.resource.AuthenticationResponse;

com.okta.sdk okta-sdk-api 10.2.1 com.okta.sdk okta-sdk-impl 10.2.1 runtime com.okta.authn.sdk okta-authn-sdk-api 2.0.10 com.okta.authn.sdk okta-authn-sdk-impl 2.0.10 runtime com.okta.commons okta-http-httpclient 1.3.4 runtime

Exception in thread “main” java.lang.NoClassDefFoundError: com/okta/sdk/impl/client/BaseClient

Appreciate any help.

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [March 16, 2023, 6:46am UTC](https://devforum.okta.com/t/sdk-library-com-okta-sdk-impl-client-baseclient/23654/2 "2023-03-16T06:46:33Z")

</div>

Hello,

For the Okta Java Management SDK there has been a major change in the SDK between 8.x and 10.x versions.  
The Latest Java Auth SDK 2.0.10 relies on Management SDK 8.2.3, [see here](https://github.com/okta/okta-auth-java/releases/tag/okta-authn-parent-2.0.10).

The 8.x branch of the Management SDK contains BaseClient,

> **[okta-sdk-java/impl/src/main/java/com/okta/sdk/impl/client at release\_8.2.3 ·...](https://github.com/okta/okta-sdk-java/tree/release_8.2.3/impl/src/main/java/com/okta/sdk/impl/client)**
>
> release\_8.2.3/impl/src/main/java/com/okta/sdk/impl/client

The new 10.x branch does not,

> **[okta-sdk-java/impl/src/main/java/com/okta/sdk/impl/client at master ·...](https://github.com/okta/okta-sdk-java/tree/master/impl/src/main/java/com/okta/sdk/impl/client)**
>
> master/impl/src/main/java/com/okta/sdk/impl/client

For now I would recommend using the Mgmt 8.2.3 which 2.0.10 relies on.

If you want to use the new Mgmt 10.x SDK with Auth I suggest updating/follow [this Issue](https://github.com/okta/okta-auth-java/issues/255).

Thank You,

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 13, 2024, 11:44pm UTC](https://devforum.okta.com/t/sdk-library-com-okta-sdk-impl-client-baseclient/23654/3 "2024-02-13T23:44:50Z")

</div>


