autofac 遇到构造函数问题

None of the constructors found with 'aaaaa' on type ' aaa' can be invoked with the available services and parameters: Cannot resolve parameter 'IDiaryTipsService diaryTipsService' of constructor 'Void
(Andon.BabyDiary.Service.IAppUserTokenBoxFactory, Andon.BabyDiary.Service.IDiaryTipsService)

 

原因:service没有进行依赖注入

posted @ 2017-04-13 15:23  myyBlog  阅读(1257)  评论(0编辑  收藏  举报