You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'EasyAbp.EShop.Orders.Orders.OrderController' can be invoked with the available services and parameters:
Cannot resolve parameter 'EasyAbp.EShop.Orders.Orders.IOrderAppService service' of constructor 'Void .ctor(EasyAbp.EShop.Orders.Orders.IOrderAppService)'.
The text was updated successfully, but these errors were encountered:
或者说, OrderController和IOrderAppService的注册在什么地方呢?使用autofac官方的人工注入方法,还有abp的注册方式,都没有解决这个问题。
var builder = new ContainerBuilder();
// builder.RegisterType()
// .As();
builder.RegisterType()
.As();
---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'EasyAbp.EShop.Orders.Orders.OrderController' can be invoked with the available services and parameters:
Cannot resolve parameter 'EasyAbp.EShop.Orders.Orders.IOrderAppService service' of constructor 'Void .ctor(EasyAbp.EShop.Orders.Orders.IOrderAppService)'.
The text was updated successfully, but these errors were encountered: