asp.net mvc 4 与spring.net配置问题
其他信息: Can't resolve reference to object 'PlanBLL' while setting 'PlanBLL'.
配置信息
<object type="BJUI.Areas.Business.Controllers.PlanController,BJUI" singleton="false">
<property name="Message" value="Hello World" />
<property name="PlanBLL" ref="PlanBLL" />
</object>
</objects>
controller代码如下:
public IPlanBLL PlanBLL { get; set; }
public String Message { get; set; }
public ActionResult Index()
{
var list = PlanBLL.LoadPlanList(new PlanEntity());
return View();
}
Message 就没有问题,但PlanBLL就不行,这是怎么回事