java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306

出现这个问题,是因为我在写注册提交给数据给后端时,前端没有报错,后端暴这个问题。
如果我们jar包和代码都没有问题,我们最简单方法是把连接数据库的jar包放到JDK的jre的一个目录下。然后重新运行,完美解决!!!!

java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:

相关文章:

  • 2021-04-05
  • 2021-08-13
  • 2022-02-10
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-07-13
  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案