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

4.2.0 gradle #253

Open
FS1360472174 opened this issue Jul 18, 2016 · 1 comment
Open

4.2.0 gradle #253

FS1360472174 opened this issue Jul 18, 2016 · 1 comment

Comments

@FS1360472174
Copy link

met with this problem,
Could not find cassandra-driver-core-shaded.jar (com.datastax.cassandra:cassandra-driver-core:3.0.0).
actually i dont know why need shaded.jar.
build.gradle{
compile 'org.apache.cassandra:cassandra-all:3.5'
compile 'com.datastax.cassandra:cassandra-driver-core:3.0.0'
compile 'info.archinnov:achilles-embedded:4.2.0'
}
if add compile 'com.datastax.cassandra:cassandra-driver-core:3.0.0:shaded',it cannot find the shaded-jar in maven repo

@doanduyhai
Copy link
Owner

We need shaded jar because when using Achilles with unit test, we pull Achilles-Embedded with is pulling Cassandra jar.

And the problem is that Cassandra 3.x is using a different version of Netty that the Java driver jar.

Using the shaded version of the Java driver solves the problem (at least with Maven)

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

2 participants