2020
10-01
10-01
使用IDEA启动项目遇见ClassNotFoundException的解决方案
一.错误现象本地开发SpringBoot项目的时候,在集成MyBatis查询数据库的时候,使用IDEA启动项目的时候,有时候会遇见如下的报错:Causedby:java.sql.SQLException:com.mysql.jdbc.Driver atcom.alibaba.druid.util.JdbcUtils.createDriver ...... Causedby:java.lang.ClassNotFoundException:com.mysql.jdbc.Driver atjava.net.URLClassLoader.findClass(URLClassLoader.java:382) .....
继续阅读 >