https://kotlinlang.org logo
#kotest
Title
# kotest
r

Rajkumar Singh

03/18/2022, 8:00 PM
getting following error with Kotest 5.2.1
Cannot access class 'io.kotest.property.Arb'. Check your module classpath for missing or conflicting dependencies
code snippet
pom file snippet
<java.version>11</java.version>
<kotlin.version>1.6.10</kotlin.version>
<kotlin-coroutines.version>1.6.0</kotlin-coroutines.version>
<kotlin.code.style>official</kotlin.code.style>
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
<kotest.version>5.2.1</kotest.version>
<kotest-ext-spring.version>1.1.0</kotest-ext-spring.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>1.6.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlinx</groupId>
<artifactId>kotlinx-coroutines-core</artifactId>
<version>1.6.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-junit5-jvm</artifactId>
<version>5.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest.extensions</groupId>
<artifactId>kotest-extensions-spring</artifactId>
<version>1.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-assertions-core-jvm</artifactId>
<version>5.2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-property-jvm</artifactId>
<version>5.2.1</version>
<scope>test</scope>
</dependency>
s

sam

03/18/2022, 8:34 PM
Sounds like something else in your pom can't be found
or is clashing with what's already there
2 Views