我写的方法名对应是没有问题的

6月 09, 2020 4:39:42 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [DispatcherServlet] in context with path [/StudentManager] threw exception [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 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

The error may exist in file [D:\java.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\StudentManager\WEB-INF\classes\config\mybatis\mapper\UserMapper.xml]

The error may involve com.ischoolbar.programmer.dao.UserDao.findByUserName

The error occurred while executing a query

Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.] with root cause

SSM下数据库连接失败怎怎么回事?有没有大佬看下问题
以下使我的配置
SSM下数据库连接失败怎怎么回事?有没有大佬看下问题
!](https://img-blog.csdnimg.cn/20200609164846696.png)

相关文章:

  • 2022-12-23
  • 2021-04-16
  • 2021-05-25
  • 2021-05-12
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2021-05-27
  • 2021-10-05
  • 2021-04-09
  • 2021-10-04
  • 2022-12-23
  • 2021-06-06
  • 2021-10-15
相关资源
相似解决方案