Skip to content
Advertisement

java.lang.NoSuchFieldError: Companion when using `influx-client-reactive` and `quarkus`

Error occurs when instantiating a client

JavaScript

dependency is excluded from quarkus-bom

JavaScript

otherwise (3.x.x) is forced and would cause

JavaScript

at the same line.

trace:

JavaScript

Advertisement

Answer

This issue led me to think that com.squareup.okio:okio might also play a role here.

JavaScript

That Options.of is a call to method in that dependency and not Optional from java. That there is nothing strange here other than some quarkus necromancy forced for fabric8io/kubernetes-client

JavaScript

from quarkus-bom

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement