Intellij IDEA出现:
Exception in thread “main” java.lang.ClassNotFoundException: com.mysql.jdbc.处理办法

解决方法:
File–>project structure–>Modules–>Dependencies–>点击右上角的+号,选择:JARs or directories–>驱动包所在找到文件目录–>添加MySQL的驱动包:mysql-connector-java-5.1.39-bin.jar–>Apply

如图:Java——Intellij IDEA出现java.lang.ClassNotFoundException: com.mysql.jdbc.Driver处理办法
Java——Intellij IDEA出现java.lang.ClassNotFoundException: com.mysql.jdbc.Driver处理办法

相关文章:

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