14- Servlet.service() for servlet [mvc-dispatcher] in context with path [/collegeservice] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root caus

有的service没有依赖注入:

原文地址:https://www.cnblogs.com/zhumengdexiaobai/p/10169821.html