记一次Castle报错

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

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

原文地址:https://www.cnblogs.com/xiaoruilin/p/6876991.html