14:52:38.214 [http-nio-80-exec-10] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,175] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates//cms/type/edit.html]")] with root cause
java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'type' available as request attribute
at org.springframework.web.servlet.support.BindStatus.<init>(BindStatus.java:153)
at org.springframework.web.servlet.support.RequestContext.getBindStatus(RequestContext.java:903)
在controller中存在一个传值(跳转地址错误,return的地址错误,或者是没有new 出一个新的对象赋值参数)错误