asarkar / cassandra-unit-spring Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi, first of all thank you for providing us this library.
However I ran into several issues while trying to use it.
First, by just importing testImplementation("com.asarkar.spring:cassandra-unit-spring:2.0.0")
I got the missing library error :
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestKotlin FAILED
e: D:\work\workspace\spring-data-cassandra\src\test\kotlin\org\rbleuse\springdatacassandra\AutoConfigureWithKnownPortsTest.kt: (4, 12): Unresolved reference: cassandraunit
e: D:\work\workspace\spring-data-cassandra\src\test\kotlin\org\rbleuse\springdatacassandra\AutoConfigureWithKnownPortsTest.kt: (21, 33): Unresolved reference: EmbeddedCassandraServerHelper
e: D:\work\workspace\spring-data-cassandra\src\test\kotlin\org\rbleuse\springdatacassandra\AutoConfigureWithKnownPortsTest.kt: (22, 33): Unresolved reference: EmbeddedCassandraServerHelper
e: D:\work\workspace\spring-data-cassandra\src\test\kotlin\org\rbleuse\springdatacassandra\AutoConfigureWithKnownPortsTest.kt: (27, 23): Unresolved reference: EmbeddedCassandraServerHelper
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileTestKotlin'.
By adding manually testImplementation("org.cassandraunit:cassandra-unit:4.3.1.0")
I can fix the compilation problem, but running the test seems to not do anything and run forever without any log.
Running from Intellij or with ./gradlew clean build
gives the same result.
My env is : Windows 11, Java 17, Kotlin 1.6, Spring-boot 2.6.3 and Gradle 7.4
Probably I did something wrong. Is there any example I can follow somewhere please ?
Here is my repo : https://github.com/rbleuse/spring-data-cassandra-unit
Unless the user component scans the package containing CassandraUnitApplicationListener
, it isn't found by Spring and the server not started. Ideally, it should be picked by an autoconfiguration,.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.