ERROR DefaultDispatcherErrorHandler:42 - Exception occurred during processing request: null

这个错误的提示出现后,在下面具体的错误中,第一行有一个具体错误代码位置。

在ServiceImpl类中,我少写了一个@Autowired。没有注入Dao。

显示这个空指针异常,一般就要去提示的代码行中寻找出错的内容。

猜你喜欢

转载自blog.csdn.net/zw1137229578/article/details/82146125