不确定调用哪个Controller方法来显示带有的视图
documentNumberList,但是您需要将该集合添加到传递给该视图的模型中:
model.addAttribute("documentNumberList", documentService.retrieveAlldocumentNumbers());
尽管从异常堆栈跟踪中您也错过了@Autowired on
documentService字段。
欢迎分享,转载请注明来源:内存溢出
不确定调用哪个Controller方法来显示带有的视图
documentNumberList,但是您需要将该集合添加到传递给该视图的模型中:
model.addAttribute("documentNumberList", documentService.retrieveAlldocumentNumbers());
尽管从异常堆栈跟踪中您也错过了@Autowired on
documentService字段。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)