dropbox / dropbox-sdk-java

A Java library for the Dropbox Core API.
https://www.dropbox.com/developers/documentation/java
MIT License
593 stars 447 forks source link

SDK not compatible with springboot 3 #513

Closed dgathibandhe closed 9 months ago

dgathibandhe commented 11 months ago

The class DbxStandardSessionStore imports HttpSession from javax which results into compatibility issue with projects that use springboot 3 as follows. The source code on the github does show import from jakarta but downloaded jars still contain javax. Could you please look into this?

Screenshot 2023-10-05 093450

greg-db commented 11 months ago

Thanks for the report. For reference, can you share which version number of the SDK you downloaded, and where you downloaded it from?

dgathibandhe commented 11 months ago

Thanks for the prompt reply! I am using the latest 5.4.6 and included the dependency in build.gradle (implementation 'com.dropbox.core:dropbox-core-sdk:5.4.6') of my project. I also tried downloading the source code zip file from github -> https://github.com/dropbox/dropbox-sdk-java/releases/tag/v5.4.6

greg-db commented 11 months ago

Thanks! I'll ask the team to look into it and I'll follow up here once I have any updates for you.

dgathibandhe commented 11 months ago

Appreciate it!

On Thu, Oct 5, 2023, 1:30 PM Greg @.***> wrote:

Thanks! I'll ask the team to look into it and I'll follow up here once I have any updates for you.

— Reply to this email directly, view it on GitHub https://github.com/dropbox/dropbox-sdk-java/issues/513#issuecomment-1749597997, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3Q4S4GG56GYLGKX4WJIXDX54KFRAVCNFSM6AAAAAA5URG7GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBZGU4TOOJZG4 . You are receiving this because you authored the thread.Message ID: @.***>

devPalacio commented 11 months ago

Hey @dgathibandhe, we haven't had the opportunity to fully release 6.0. The 6.0.0-SNAPSHOT uses the Jakarta namespace. You can find the snapshots here: https://s01.oss.sonatype.org/content/repositories/snapshots/com/dropbox/core/

dgathibandhe commented 11 months ago

Thanks! I guess, I will have to wait for the release to be able to add the dependency in the project.

greg-db commented 9 months ago

The Dropbox Java SDK now uses jakarta as of v6.0.0.