Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; Autowirednested exception is
我的原因是,在一个Controller里new 别一个 Controller 这样时可以的;然后再调用一个service就报错了;
最后,把new 一个对象 改为 注入 就好了
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; Autowirednested exception is
我的原因是,在一个Controller里new 别一个 Controller 这样时可以的;然后再调用一个service就报错了;
最后,把new 一个对象 改为 注入 就好了