报错笔记: Request processing failed; nested exception is java.lang.NullPointerException: Cannot invoke “com.mvc.dao.UserDao.logincheck(com.mvc.entity.User)” because “this.dao” is null
解决方法: 由于dao里面没有注入,所以才会显示"this.dao" is null 所以需要去检查你的注释是否都添加注入进去了
报错笔记: Request processing failed; nested exception is java.lang.NullPointerException: Cannot invoke “com.mvc.dao.UserDao.logincheck(com.mvc.entity.User)” because “this.dao” is null解决方法:由于dao里面没有注入,所以才会显示"this.dao" is null所以需要去检查你的注释是否都添加注入进去了...