-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm not sure if this is a jooq-plugin problem or a Micronaut one, but the two don't play nicely together.
Minimal build file:
plugins {
id("com.revolut.jooq-docker") version "0.3.5"
id("io.micronaut.application") version "1.2.0"
}
group = "com.example"
version = "0.1-SNAPSHOT"
repositories {
jcenter()
}
micronaut {
version("2.2.0")
runtime("netty")
}
application {
mainClass.set("com.example.Application")
}
This causes Gradle to throw an exception java.lang.NoSuchMethodError: 'com.fasterxml.jackson.databind.ObjectMapper com.github.dockerjava.core.DockerClientConfig.getObjectMapper()'. Full stack trace is at https://gist.github.com/sgrimm/e9d4e9fca6571b339f8a6ae404dd3445 .
The symptom really looks like maybe different versions of different jars in the Java Docker library are being used, but gradle buildEnvironment doesn't show that library as a dependency of the Micronaut plugin. I also tried forcing it to a specific version using setForcedModules() but that didn't help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels