IDEA运行SSM系统学生信息管理系统:SSM框架实现学生信息的增删改查

1、报错如下:

HTTP状态 500 - 内部服务器错误

类型 异常报告
消息 Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
描述 服务器遇到一个意外的情况,阻止它完成请求。
例外情况
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
### The error may exist in jee/support/dao/AdminDao.xml
### The error may involve jee.support.dao.AdminDao.findByNameAndPwd
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)javax.servlet.http.HttpServlet.service(HttpServlet.java:652)org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)javax.servlet.http.HttpServlet.service(HttpServlet.java:733)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

2、 原因和解决办法:

src–main–resources–db.propertites:

jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/customersupport3?characterEncoding=utf8
jdbc.username=root
jdbc.password=jerry
jdbc.maxTotal=30
jdbc.maxIdle=10
jdbc.initialSize=5

password修改成本地mysql数据库密码。

Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exc相关推荐

  1. 报错:nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.iba

    报错信息如下: 七月 21, 2021 3:27:50 下午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.serv ...

  2. springmvc报错 nested exception is org.mybatis.spring.MyBatisSystemException:

    今天在做ssm整合的时候发现了一个错误,头疼了半天没解决,错误如下: 三月 10, 2018 6:43:37 下午 org.apache.catalina.core.AprLifecycleListe ...

  3. T.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.Reflectio

    There is no getter for property named '*' in 'class java.lang.String',此错误之所以出现,是因为mybatis在对parameter ...

  4. org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyR

    异常信息: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.To ...

  5. 【报错笔记】数据类型转换时报错:Request processing failed;nested exception is java.lang.NumberFormatException:...

    数据类型转换时报错:Request processing failed;nested exception is java.lang.NumberFormatException:For input St ...

  6. 解决Request processing failed; nested exception is com.sun.jersey.api.client.UniformInterfaceException

    跨服务器上传图片时遇到如下错误: Request processing failed; nested exception is com.sun.jersey.api.client.UniformInt ...

  7. threw exception [Request processing failed; nested exception is org.hibernate.exception.SQLGrammarE

    在这里插入代码片> threw exception [Request processing failed; > nested exception is org.hibernate.exce ...

  8. 【解决思路】HTTP Status 500 Type Exception ReportMessage Request processing failed; 【已解决】

    目录 零.前言 一.看错误提示 二.分析错误 三.定位问题 四.解决问题 Type Exception ReportMessage Request processing failed; nested ...

  9. Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException

    如出现下列报错,是找不到相对应的目录文件 检查目录中的web根目录有没有变成根源目录 如没有找到项目结构===>模板===>添加web 注:如使用web模板这不需要这些操作,适用于自定义模 ...

最新文章

  1. iphone屏幕镜像连电视_三种投屏方法,让电视电脑也能显示iPhone画面,大屏游戏视频更佳...
  2. spark 在启动的时候出现JAVA_HOME not set
  3. VS2010数据库项目不能正常工作解决方案(转)
  4. linux 高级命令
  5. 虚拟化(4)_离线克隆与在线克隆
  6. excel 表格lookup 的操作
  7. 基于价值链的流程框架分类_基于价值的类
  8. php中使用websocket
  9. C++之异常捕获和处理
  10. python在线编程免费课程-吐血整理!程序员最爱的13个免费Python课程
  11. Windows安装curl及基本命令
  12. c语言 中的求和函数,0基础理解C语言调用汇编实现求和函数
  13. 【python】报错:OSError: [Errno 30] Read-only file system
  14. upload-labs-master 通关分析
  15. n子棋,你能下赢电脑吗,来玩玩吧
  16. vue项目created()被调用多次的坑
  17. 使用思科模拟器设计和配置校园网络
  18. 计算机打印共享应该怎么设置,打印机共享设置,告诉你打印机共享怎么设置
  19. JAVA学习视频,2020最新全套视频大放送!
  20. 魔方CFOP公式匹配算法

热门文章

  1. android n进入分屏代码分析_Android分屏多窗口的实践代码
  2. TweenMax 教程 使用
  3. 4g物联网模块dtu网络远程开关控制器485通讯 工业级TTL转4G串口服务器 全网通路由模块 通信通讯模组 二次开发
  4. 福特汉姆大学计算机科学专业,福特汉姆大学优势专业
  5. Mac OS 下的Vim使用系统剪切板
  6. SFTP传输文件工具FileZilla下载安装教程
  7. 怎么在拦截器里接收json对象_九型人格分析:怎么挑选适合的爱人和结婚对象,藏在他的性格里...
  8. Git Commit Message校验踩坑指南
  9. BoBo买了一箱酸奶,里面有n盒未打开的酸奶,KiKi喜欢喝酸奶,第一时间发现了酸奶。KiKi每h分钟能喝光一盒酸奶,并且KiKi在喝光一盒酸奶之前不会喝另一个,那么经过m分钟后还有多少盒未打开的酸奶
  10. Linux学习笔记(购买使用阿里云服务器,基本命令,安装JDK,Tomcat等环境)