求助spring注入的对象是default的,没有设为私有的,会不会报
空指针异常本帖最后由 zwei0303 于 2012-12-14 17:31:42 编辑
问题如题,在线等啊!!
代码:
IExamMgrAssignPlusTeacherArrangementService examMgrAssignPlusTeacherArrangementService;
public void setExamMgrAssignPlusTeacherArrangementService(
IExamMgrAssignPlusTeacherArrangementService examMgrAssignPlusTeacherArrangementService) {
this.examMgrAssignPlusTeacherArrangementService = examMgrAssignPlusTeacherArrangementService;
}
------解决方案--------------------不会报
空指针的,