1024programmer Blog Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find cla_Fisherman Abu’s Blog

Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find cla_Fisherman Abu’s Blog

class=”markdown_views prism-atom-one-dark”>

Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: com.mysql.cj.jdbc.Driver
**This error occurs: the connection method of the driver is wrong
mysql5. 0: com.mysql.jdbc.Driver

 
             dataSource type="POOLED">

                 
                 property name="driver" value="com.mysql.jdbc.Driver"/>
                 property name="url" value="jdbc:mysql://localhost:13306/mybatis-example"/>
                 property name="username" value="root"  />
                 property name="password" value="root"  />
             </dataSource
 

mysql8.0: com.mysql.cj.jdbc.Driver**

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/error-setting-driver-on-unpooleddatasource-cause-java-lang-classnotfoundexception-cannot-find-cla_fisherman-abus-blog/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索