Open asarkar opened 4 years ago
I'm currently blocked by this issue. Anything I can do to resolve this?
@nikeee This projects appears to be unmaintained. Fork your own?
@asarkar We're currently evaluating migrating to this project: https://github.com/nosan/embedded-cassandra-spring-boot-starter
try adding this
`
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
`
@Saif-Haider Did you read above that there's a runtime error when a newer version is added?
That old dependency is a transitive dependency of cassandra:
$ mvn dependency:tree
...
[[1;34mINFO[m] +- org.apache.cassandra:cassandra-all:jar:3.11.5:compile
[[1;34mINFO[m] | +- org.xerial.snappy:snappy-java:jar:1.1.1.7:compile
[[1;34mINFO[m] | +- net.jpountz.lz4:lz4:jar:1.3.0:compile
[[1;34mINFO[m] | +- com.ning:compress-lzf:jar:0.8.4:compile
[[1;34mINFO[m] | +- com.google.guava:guava:jar:18.0:compile
[[1;34mINFO[m] | +- commons-cli:commons-cli:jar:1.1:compile
[[1;34mINFO[m] | +- commons-codec:commons-codec:jar:1.9:compile
[[1;34mINFO[m] | +- org.apache.commons:commons-lang3:jar:3.1:compile
[[1;34mINFO[m] | +- org.apache.commons:commons-math3:jar:3.2:compile
[[1;34mINFO[m] | +- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.4:compile
[[1;34mINFO[m] | +- org.antlr:antlr:jar:3.5.2:compile
[[1;34mINFO[m] | | \- org.antlr:ST4:jar:4.0.8:compile
[[1;34mINFO[m] | +- org.antlr:antlr-runtime:jar:3.5.2:compile
[[1;34mINFO[m] | +- org.slf4j:slf4j-api:jar:1.7.7:compile
[[1;34mINFO[m] | +- org.slf4j:jcl-over-slf4j:jar:1.7.7:compile
[[1;34mINFO[m] | +- org.codehaus.jackson:jackson-core-asl:jar:1.9.2:compile
[[1;34mINFO[m] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2:compile
[[1;34mINFO[m] | +- com.googlecode.json-simple:json-simple:jar:1.1:compile
[[1;34mINFO[m] | +- com.boundary:high-scale-lib:jar:1.0.6:compile
[[1;34mINFO[m] | +- org.yaml:snakeyaml:jar:1.11:compile
[[1;34mINFO[m] | +- org.mindrot:jbcrypt:jar:0.3m:compile
[[1;34mINFO[m] | +- io.airlift:airline:jar:0.6:compile
[[1;34mINFO[m] | | \- javax.inject:javax.inject:jar:1:compile
[[1;34mINFO[m] | +- io.dropwizard.metrics:metrics-core:jar:3.1.5:compile
[[1;34mINFO[m] | +- io.dropwizard.metrics:metrics-jvm:jar:3.1.5:compile
[[1;34mINFO[m] | +- com.addthis.metrics:reporter-config3:jar:3.0.3:compile
[[1;34mINFO[m] | | +- com.addthis.metrics:reporter-config-base:jar:3.0.3:compile
[[1;34mINFO[m] | | \- org.hibernate:hibernate-validator:jar:4.3.0.Final:compile
...
So updating cassandra might solve the issue.
Edit:
Updating org.apache.cassandra:cassandra-all
to 3.11.11
removes that library from the transitive dependencies. Going to v4 would likely resolve this issue, too (#325 would resolve this issue).
cassandra-unit brings in
org.hibernate:hibernate-validator:4.3.0.Final
, which was last used when dinosaurs roamed the earth 😄. Any recent project, like Spring Boot, wants newer versions, and there is a runtime error.