I’m using Play 2.8.1, and as soon as I add this dependency in build.sbt
without actually using anything in the library, I will get this error:
Exception in thread "main" java.lang.NoSuchMethodError: com.google.inject.Binder.disableCircularProxies()V
at play.api.inject.guice.BinderOption$DisableCircularProxies$$anonfun$$lessinit$greater$1.apply(GuiceInjectorBuilder.scala:402)
at play.api.inject.guice.BinderOption$DisableCircularProxies$$anonfun$$lessinit$greater$1.apply(GuiceInjectorBuilder.scala:402)
at play.api.inject.guice.BinderOption.apply(GuiceInjectorBuilder.scala:397)
at play.api.inject.guice.GuiceableModuleConversions$$anon$4.$anonfun$configure$1(GuiceInjectorBuilder.scala:373)
at play.api.inject.guice.GuiceableModuleConversions$$anon$4.$anonfun$configure$1$adapted(GuiceInjectorBuilder.scala:373)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:168)
at play.api.inject.guice.GuiceableModuleConversions$$anon$4.configure(GuiceInjectorBuilder.scala:373)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.spi.Elements.getElements(Elements.java:92)
at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:152)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:116)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:83)
at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:200)
at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:155)
at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)
at play.core.server.ProdServerStart$.start(ProdServerStart.scala:54)
at play.core.server.ProdServerStart$.main(ProdServerStart.scala:30)
at play.core.server.ProdServerStart.main(ProdServerStart.scala)
In the maven page I don’t really see any conflicting dependencies. Does anyone know what’s going on here?