Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

1.controller层没有加@ResponseBody

2.Service层实现类未添加注解@Autowired

posted @ 2020-08-08 10:57  遥~  阅读(320)  评论(0)    收藏  举报