# Okta SDK 10 needs Spring?

**URL:** <https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761>\
**Category:** Questions\
**Created:** [March 27, 2023, 10:26am UTC](https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761 "2023-03-27T10:26:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gualtiero](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/gualtiero/32/4635_2.png) [@gualtiero](https://devforum.okta.com/u/gualtiero)\
**Post date:** [March 27, 2023, 10:26am UTC](https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761/1 "2023-03-27T10:26:57Z")

</div>

Hi,

I’m trying to move an old project to the okta-sdk-java 10.x but it has Spring 5 compile dependencies (see below).  
This is not reported in the release notes ([Release 10.0.0 · okta/okta-sdk-java · GitHub](https://github.com/okta/okta-sdk-java/releases/tag/okta-sdk-root-10.0.0)) nir in the migration guide ([okta-sdk-java/MIGRATING.md at master · okta/okta-sdk-java · GitHub](https://github.com/okta/okta-sdk-java/blob/master/MIGRATING.md#migrating-from-8xx-to-10xx)).

Can I use the SDK without Spring?

Thanks,

Gualtiero

OKTA-SDK-API 10.2.2 dependency tree

± com.okta.sdk:okta-sdk-api:jar:10.2.2:compile  
[INFO] | ± com.okta.commons:okta-config-check:jar:1.3.3:compile  
[INFO] | ± com.okta.commons:okta-http-api:jar:1.3.3:compile  
[INFO] | ± com.okta.commons:okta-commons-lang:jar:1.3.3:compile  
[INFO] | ± org.slf4j:slf4j-api:jar:2.0.6:compile  
[INFO] | ± io.swagger:swagger-annotations:jar:1.6.8:compile  
[INFO] | ± com.google.code.findbugs:jsr305:jar:3.0.2:compile  
[INFO] | ± org.springframework:spring-web:jar:5.3.23:compile  
[INFO] | | ± org.springframework:spring-beans:jar:5.3.23:compile  
[INFO] | | - org.springframework:spring-core:jar:5.3.23:compile  
[INFO] | | - org.springframework:spring-jcl:jar:5.3.23:compile  
[INFO] | ± org.springframework:spring-context:jar:5.3.23:compile  
[INFO] | | ± org.springframework:spring-aop:jar:5.3.23:compile  
[INFO] | | - org.springframework:spring-expression:jar:5.3.23:compile  
[INFO] | ± org.springframework.retry:spring-retry:jar:1.3.3:compile…  
…interrupted…

OKTA-SDK-API 8.2.3 dependency tree

± com.okta.sdk:okta-sdk-api:jar:8.2.3:compile  
[INFO] | ± com.okta.commons:okta-config-check:jar:1.3.3:compile  
[INFO] | ± com.okta.commons:okta-http-api:jar:1.3.3:compile  
[INFO] | ± com.okta.commons:okta-commons-lang:jar:1.3.3:compile  
[INFO] | - org.slf4j:slf4j-api:jar:2.0.6:compile  
[INFO] - com.okta.sdk:okta-sdk-impl:jar:8.2.3:runtime  
[INFO] ± com.fasterxml.jackson.core:jackson-databind:jar:2.14.2:runtime  
[INFO] | ± com.fasterxml.jackson.core:jackson-annotations:jar:2.14.2:runtime  
[INFO] | - com.fasterxml.jackson.core:jackson-core:jar:2.14.2:runtime  
[INFO] ± org.yaml:snakeyaml:jar:1.33:runtime  
[INFO] ± org.bouncycastle:bcprov-jdk15on:jar:1.70:runtime  
[INFO] ± org.bouncycastle:bcpkix-jdk15on:jar:1.70:runtime  
[INFO] | - org.bouncycastle:bcutil-jdk15on:jar:1.70:runtime  
[INFO] ± io.jsonwebtoken:jjwt-api:jar:0.11.5:runtime  
[INFO] ± io.jsonwebtoken:jjwt-impl:jar:0.11.5:runtime  
[INFO] - io.jsonwebtoken:jjwt-jackson:jar:0.11.5:runtime

---

<div class="post-metadata">

**Author:** ![Regis](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@Regis](https://devforum.okta.com/u/Regis)\
**Post date:** [June 14, 2023, 1:48pm UTC](https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761/2 "2023-06-14T13:48:36Z")

</div>

Hi @gualtiero,

Those dependencies have been removed in the latest release.

> **[Release 11.0.0 · okta/okta-sdk-java](https://github.com/okta/okta-sdk-java/releases/tag/okta-sdk-root-11.0.0)**
>
> What's Changed
> 
> Major release that removes Spring Boot 2.x & Spring Framework 5 dependencies from the project.
> Replace Spring RestTemplate with Apache HttpClient by @arvindkrishnakumar-okta in #882...

---

<div class="post-metadata">

**Author:** ![gualtiero](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/gualtiero/32/4635_2.png) [@gualtiero](https://devforum.okta.com/u/gualtiero)\
**Post date:** [June 14, 2023, 2:37pm UTC](https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761/3 "2023-06-14T14:37:19Z")

</div>

Many thanks, Regis. I’ve just changed my pom.xml file 😃

---

<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:39pm UTC](https://devforum.okta.com/t/okta-sdk-10-needs-spring/23761/4 "2024-02-13T23:39:22Z")

</div>


