标签:gui worker can core dynamic enc 类型 generator main
An exception was thrown while activating Castle.Proxies.ProcedureAppServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.ProcedureAppServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with ‘Autofac.Core.Activators.Reflection.DefaultConstructorFinder‘ on type ‘Castle.Proxies.ProcedureAppServiceProxy‘ can be invoked with the available services and parameters:
Cannot resolve parameter ‘Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.ProcedureRltFile,System.Guid] procedureRltFileRepo‘ of constructor ‘Void .ctor(Castle.DynamicProxy.IInterceptor[], Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.Procedure,System.Guid], Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.ProcedureMaterial,System.Guid], Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.ProcedureWorker,System.Guid], Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.ProcedureEquipmentTeam,System.Guid], Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.ConstructionBase.Entities.ProcedureRltFile,System.Guid], Volo.Abp.Guids.IGuidGenerator, Volo.Abp.Domain.Repositories.IRepository`2[SnAbp.Identity.DataDictionary,System.Guid])‘.
Autofac.Core.DependencyResolutionException:激活Castle.Proxies.ProcedureAppServiceProxy时引发了异常。
---> Autofac.Core.DependencyResolutionException:不能使用可用服务和参数调用类型为‘Castle.Proxies.ProcedureAppServiceProxy‘的‘Autofac.Core.Activators.Reflection.DefaultConstructorFinder‘发现的构造函数:
无法解析构造函数‘Void .ctor(Castle.DynamicProxy.IInterceptor [],Volo.Abp.Domain的构造函
说某个仓储 IRepository 没有 构造函数 参数
这个时候 检查下 IDbContext 和 DbContext ,把 对应 缺失 的 dbSet 补上就可以了
abp 报Autofac.Core.DependencyResolutionException 依赖注入的错
标签:gui worker can core dynamic enc 类型 generator main
原文地址:https://www.cnblogs.com/ifnk/p/14823772.html