This occurs when running my application normally, but doesn't happen when running my test no matter where I place my module.
play.modules.enabled += "TestModule"
public class TestModule extends AbstractModule {
protected void configure() {
bind(A.class).to(ADefault.class);
}
}
I could solve this issue by using @ImplementedBy, however I have lots of classes and I thought it would be great to manage all in 1 place.
I'm also very curious why my setup only works when running the test, which will only give me the error when I purposely set the wrong thing in application.conf.
Is there any other configurations I'm missing?