Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown when updated Arrow to 2.0.0 in main app module #35

Open
spectrumIG opened this issue May 27, 2024 · 3 comments
Open

Exception thrown when updated Arrow to 2.0.0 in main app module #35

spectrumIG opened this issue May 27, 2024 · 3 comments

Comments

@spectrumIG
Copy link

I updated Arrow to 2.0.0-alpha.2 in my main app and after that I have this exception thrown at runtime. This is strange because I already had the Arrow version of this lib and the one I use in the project differs.
Some suggestions? Thanks

java.lang.NoClassDefFoundError: Failed resolution of: Larrow/core/computations/either; at io.github.nefilim.kjwt.JWT$Companion.decode(JWT.kt:129) ... Caused by: java.lang.ClassNotFoundException: Didn't find class "arrow.core.computations.either" on path

@sproctor
Copy link

sproctor commented Dec 5, 2024

Unfortunately, it seems that Arrow has used the same namespace for Arrow 2, so they can't coexist. I think you need to stick with arrow 1.x until this library is updated.

@Atternatt
Copy link
Contributor

hello @sproctor @nefilim I created this PR that fixes the issue by migrating to Arrow 2.0.0

If it looks good and can be deployed you would make me a favor 🙏🏻 let me know if there is anything missing that I should fix before.

Thanks!

@sproctor
Copy link

@Atternatt Thanks for that! I updated my project and it passes my tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants