记一次Castle报错

CJXX.ServiceTest.PersonRelationMgeSvrTest.GetPersonRelation:
SetUp : Castle.MicroKernel.ComponentActivator.ComponentActivatorException : ComponentActivator: could not instantiate CJXX.Service.PersonRelationMgeSvr
----> System.ArgumentNullException : 值不能为空。
参数名: types

 

原因很简单就是构造函数是private

 

posted @ 2017-05-19 10:18  三瑞  阅读(992)  评论(0编辑  收藏  举报