Multiple constructors
When you declare multiple constructors for your service, by default, the dependency injector cannot decide which one to use to initialize the service with.
In order to fix this problem, annotate the desired constructor with the @ConstructWith
annotation, to tell the dependency injector, which constructor to use.
Last updated