Closed heuermh closed 2 years ago
5.1.0 should be live on maven central shortly.
But I doubt it will help since both 5.0.1 and 5.1.0 use com.google.guava % guava % 30.1-jre
Wish I had some tips on shading, but I don't really do Java dev these days. Maybe https://bryantsai.com/how-to-resolve-dependency-conflict-out-of-your-control-e75ace79e54f is of some help.
Thank you @tsuckow! Will give it a try.
It appears that relocation via the Maven Shade plugin isn't able to handle the Scala classes correctly or perhaps some reflection is going wrong. I wish I had a simpler use case that would demonstrate the problem, unfortunately I run into this with an library that uses guice
on its own on top of another one that uses scala-guice
and the whole stack runs on Apache Spark.
Hello! I'm having trouble with runtime classpath conflicts with Guava and Guice versions
and haven't been able to determine the right combination of shading & relocating to make it work
Hopefully updating scala-guice to use version 5.1.0 of Guice will alleviate this issue. Thank you!