HubSpot/dropwizard-guice

In guice 4, overriding @Provides methods is not allowed

Closed this issue · 2 comments

Upgrade to guice 4 (to get around, e.g. google/guice#757) and you'll get this error:

! 1) Overriding @provides methods is not allowed.
! @provides method: com.sun.jersey.guice.JerseyServletModule.webApp()
! overridden by: com.hubspot.dropwizard.guice.JerseyContainerModule.webApp()
! at com.google.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:128)
!

Are you running version 0.7.1 or higher? This should be fixed by #38

My bad, right enough