Error updating database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. ?
super_junior 提问于:2017-10-26
0 0

mybatis数据源异常:

Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException: 
### Error updating database.  Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: com.mysql.jdbc.Driver

驱动包也导入了,url,driver,username,password写的也对,

  • 所有回答
暂时还没有回答,我来回答