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
如图: