报错信息
org.thymeleaf.exceptions.TemplateInputException: Error resolving template [fabric/code/treeRefresh], template might not exist or might not be accessible by any of the configured Template Resolvers
错误所在地
@RequestMapping("/treeRefresh")
@ResponseBody
public ModelMap treeRefresh(Integer id, ModelMap mmap) {
List<Tree> treelist = codeEditorService.selectById(id);
String json = JSONObject.toJSONString(treelist);
mmap.put("treelist",json);
return mmap;
}
ModelMap不能用 return返回!