Open GoogleCodeExporter opened 9 years ago
Note: the main problem is not that there are conflicting versions of Jersey on
the classpath (the benchmark doesn't need it). The problem is that no matter if
caliper-1.0-beta-1-all.jar is first or last on the classpath when launching the
benchmark, I still get this error.
Original comment by phraktle
on 3 Jun 2013 at 5:48
What version of Jersey are you using?
Original comment by gak@google.com
on 3 Jun 2013 at 6:38
In this particular project Jersey 1.1.5 is used.
Original comment by phraktle
on 4 Jun 2013 at 7:14
OK, so it seems like the version skew is the issue. Caliper uses Jersey 1.11
to upload results. Ideally, we'd use the Maven Shade plugin to repackage
Jersey, but my first attempt failed because some reflection was causing it to
fail. (You can see the commented out section in the pom.) Some quick Googling
suggests that
http://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformer
s.html#ServicesResourceTransformer may be the solution.
Original comment by gak@google.com
on 4 Jun 2013 at 5:43
I also ran into incompatibilities with a conflicting version of Guava. This is
a deal-braker for me :-(
Original comment by David.W....@gmail.com
on 19 Aug 2013 at 4:26
Original issue reported on code.google.com by
phraktle
on 3 Jun 2013 at 5:31