You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @SercanKaraoglu , the conflicting problem is that statsd-jvm-profiler uses fasterxml 2.8.10 and spring depends on fasterxml 2.9.3. To prevent the classpath issue, you should guarantee that client project actually uses fasterxml 2.9.3. Adding the following patch in pom.xml file may help you solve the problem:
Thanks for response @PandaMonkey, yeah that also works, instead I removed vertx completely because actually I don't need server at all, I am importing metrics to influx
There is nice functionality "http server" which seems to be configurable, however that one brings vertx's old version as a dependency which causes old version of fasterxml and netty to appear in the classpath byproduct. When I run spring boot 2 with the agent it also has netty and fasterxml dependencies, as you can predict this causes conflicts and here it throws verify error https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/converter/json/Jackson2ObjectMapperBuilder.java#L742
I would propose to use simpler httpserver there which brings no dependencies byproduct.
The text was updated successfully, but these errors were encountered: