Hi guys, Has anyone got this gradle error? I have...
# spring
k
Hi guys, Has anyone got this gradle error? I haven’t changed the
build.gradle.kts
file, but suddenly the gradle keeps giving me these import errors.
Copy code
Details: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find spring-context.jar (org.springframework:spring-context:5.2.0.BUILD-SNAPSHOT:20190801.073001-611).
Searched in the following locations:
    <https://repo.spring.io/snapshot/org/springframework/spring-context/5.2.0.BUILD-SNAPSHOT/spring-context-5.2.0.BUILD-20190731.114634-606.jar>
So I looked up the URL, and there is no spring-context-jar file that ends with
20190731
, but only
20190801
. Am I using outdated dependency? Following is my dependencies
Copy code
dependencies {
    implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
    implementation("org.jetbrains.kotlin:kotlin-reflect")
    implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")

    implementation("org.springframework.boot:spring-boot-starter-webflux:5.1.7.RELEASE")

    implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive")
    implementation("org.mongodb:mongodb-driver-reactivestreams")

    testImplementation("org.springframework.boot:spring-boot-starter-test") {
        exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
        exclude(group = "junit", module = "junit")
    }
    testImplementation("io.projectreactor:reactor-test")
}
Thanks for helping
I figured out the problem. It was my plugin issue. I was using spring boot 2.2.0 snapshot. after changing my version 2.2.0.M4, It worked again.