@RequestMapping("findAll")
public ModelAndView findAll(ModelAndView model) {
List<Client> clientz = clientService.findAll();
ModelAndView mad = new ModelAndView("/back/client/index.jsp");
mad.addObject("clientz", clientz);
return mad;
}
哈哈。这个问题很明显啊,你的controller 上没有加@Controller注解。所以请求肯定会是404 ,无法将属性注入到页面上去。如果方便的话,我可以远程帮忙解决