Java Web进阶:数据库与MyBatis入门课程中老师的代码,我自己运行出错了
出错代码如下:

报错信息:

不知道为什么会抛出错误?
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [MessageListServlet] in context with path [] threw exception
java.lang.NullPointerException
慕村7707015
慕尚A7
随时随地看视频慕课网APP