DependencyResolutionException None of the constructors found with AutofacCoreActivatorsReflectionDefaultConstructorFinder on type SuperHouseNetServicesTransferTransfersService can be invoked with the
这是一个依赖解析异常,具体原因是无法找到可用的构造函数来创建类型“SuperHouse.Net.Services.Transfer.TransfersService”,因为无法解析参数“SuperHouse.Net.IRepositories.Transfer.ITransfersRepository repostransfers”的依赖项。可能是因为没有正确配置Autofac容器或未正确注册依赖项。可以检查代码,确保已正确注册依赖项,并确保所有依赖项都已正确配置。另外,可以尝试在代码中添加日志记录来更好地了解问题的根本原因。
原文地址: https://www.cveoy.top/t/topic/bkGB 著作权归作者所有。请勿转载和采集!