-
Notifications
You must be signed in to change notification settings - Fork 645
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
Alpakka cassandra throws exceptions with JDK 11 #2556
Comments
Alpakka Cassandra excludes the "com.esri.geometry esri-geometry-api" library from its transitive dependencies. The security issues that made us take that route might be solved in later versions. You can choose to add it in your project. See #2225 |
Hi @ennru |
Alpakka 2.0.2 uses the Cassandra Java Driver 4.6.1, you may try to use it with a later version. I try version 4.10.0 in #2560 |
I've tried what you suggested, but without any luck. The problem still persist even with 4.10.0 |
I am getting the same exception as following Any solution as of now? |
See #2804 |
#2804 upgraded the driver to version 4.13. |
Versions used
Akka version:
2.6.10
akka-stream-alpakka-cassandra 2.0.2
java version:
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+11, mixed mode)
Expected Behavior
I'm trying to integrate alpakka-stream-cassandra into my project, but on project initialization getting a number of ClassNotFoundExceptions thrown from datastax driver. It looks to me as potential JDK 11 issue that might be harmless, but would like to be sure about it. Version compatiblity document https://developer.lightbend.com/docs/introduction/getting-help/java-versions.html is not very clear here. I'm not sure if alpakka-cassandra belongs to Alpakka in this compatibility matrix, or it's just missed from it.
Actual Behavior
First exception I'm getting is
If I add this dependency, I'm getting other netty related exceptions, e.g.:
Reproducible Test Case
I've created minimal project that reproduces the problem and which is available here https://github.com/jeremycod/alpakka_stream_minimal
The text was updated successfully, but these errors were encountered: