Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request p

in the course of using springboot today, Met the Servlet service () for the Servlet [dispatcherServlet] in context with the path [] threw the exception [Request processing failed; nested exception is Java. Lang. NullPointerException] with root cause error, really sad, Write it down.
error reason:
I cited in the service implementation class two resource bundle files, but only write a @ Autowared, so only the first package is automatically injected, and the second package is not injection, So, should be to write a @ Autowared
so my problem is solved!

Read More: