一个不小心出现的错误,接口测试报500
日志输出信息如下:
[nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
我的报错原因是在impl实现类中没有写@Autowried
标签:service,Servlet,context,path,dispatcherServlet,servlet From: https://www.cnblogs.com/hmy22466/p/17758219.html