首页 > 其他 > 详细

Unable to resolve service for type`***` while attempting to activatre `***`

时间:2021-05-14 15:16:24      阅读:7      评论:0      收藏:0      [点我收藏+]

 

 

 

技术分享图片

 

出现上图那样的情况 一般是没有在Startup类中的ConfigureServices中注入接口和实现类

技术分享图片

 

 

 注入一个就ok

 

Unable to resolve service for type`***` while attempting to activatre `***`

原文:https://www.cnblogs.com/lixia0604/p/14768242.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!