-
Notifications
You must be signed in to change notification settings - Fork 311
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
com.datastax.oss.driver.internal.core.util.Dependency
was unintentionally initialized at build time
#1340
Comments
Please report the issue against the Cassandra driver directly. All those linked tickets seem like workarounds. Can you attach a trace from where the initialization of |
Initialization stack trace shows that
|
A bit of a slow response from my side, Just got time to dive into this again. |
com.datastax.oss.driver.internal.core.util.Dependency
was unintentionally initialized at build time
Hello @acemoo , thank you for finding this issue. Do you know if there is a way to import 4.15.1 to the current SpringBoot 3.0.2 or 3.0.3 snapshot please? |
4.15.1 isn't released yet. In any case, you can override the Spring Boot property |
Many thanks @mp911de, I will wait for the release of 4.15.1 and apply what you said |
When trying to natively compile a project that has both
spring-boot-starter-data-cassandra
andspring-cloud-starter-stream-kafka
usingmvn clean -Pnative native:compile
I'm getting the following error:
Here's a minimal project that shows the problem: https://github.com/acemoo/spring-native-cloud-kafka-data-cassandra
I found a similar issue with Micronaut micronaut-projects/micronaut-cassandra#263
With a solution https://github.com/micronaut-projects/micronaut-cassandra/pull/264/files
Unfortunately, I couldn't find any
--initialize-at-build-time
in either Spring Boot or Spring Data Cassandra.The text was updated successfully, but these errors were encountered: