ProvisionException: Unable to provision, see the following errors:
1) Error injecting constructor, java.lang.NoSuchMethodError$init$(Ljp/t2v/lab/play2/stackc/StackableController;) 导致错误的控制器是这样实现的: class AuthController @Inject()
我已经做了好几天了,但我无法让Unity将任何RegisterType<>注入到我的Controller中。我正在使用Web 2,在Visual 2015中,使用Unity4。每当我尝试注入IUnitOfWork或IRFContext时,我都会得到"message": "An error occurred when trying to create a controller;
container.RegisterInstance<IL