Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException:

Using mybatis to report errors in Maven

Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: 

After checking, it should be impossible to read the database driver

Solution

1. Check whether the database dependency is imported

2. Check whether the connection information of the main configuration file database is correct

 

 

Guess you like

Origin blog.csdn.net/weixin_53818758/article/details/126186461