当前位置:网站首页>Cannot load driver class: com. mysql. cj. jdbc. Driver
Cannot load driver class: com. mysql. cj. jdbc. Driver
2022-07-03 20:21:00 【Proud cat sauce】
Reference blog :
Cannot load driver class: com.mysql.cj.jdbc.Driver_ Autumn wind with fallen leaves -CSDN Blog
background :
Database configuration ,yaml In file ,com.mysql.cj.jdbc.Driver Red explosion
driver-class-name: com.mysql.cj.jdbc.Driver
After running the code , Report errors
Cannot load driver class: com.mysql.cj.jdbc.Driver
reason :
Caused by database version problems
resolvent :
Before pom.XML Medium mysql Just replace the dependency
Before the change :
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.20</version>
After the modification :
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.13</version>
边栏推荐
- Shortest path problem of graph theory (acwing template)
- Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of rotary tablet presses in the global market in 2022
- Teach you how to quickly recover data by deleting recycle bin files by mistake
- Initialization and instantiation
- Kubernetes cluster builds efk log collection platform
- Ruby replaces gem Alibaba image
- 1.5 learn to find mistakes first
- 【c】 Digital bomb
- BOC protected amino acid porphyrins TAPP ala BOC, TAPP Phe BOC, TAPP Trp BOC, Zn · TAPP ala BOC, Zn · TAPP Phe BOC, Zn · TAPP Trp BOC Qiyue
- How to improve data security by renting servers in Hong Kong
猜你喜欢
Oak-d raspberry pie cloud project [with detailed code]
MPLS configuration
2.7 format output of values
jvm jni 及 pvm pybind11 大批量数据传输及优化
Part 28 supplement (XXVIII) busyindicator (waiting for elements)
[effective Objective-C] - block and grand central distribution
Battle drag method 1: moderately optimistic, build self-confidence (1)
2.2 integer
How to improve data security by renting servers in Hong Kong
FAQs for datawhale learning!
随机推荐
Meso tetra [P - (p-n-carbazole benzylidene imino)] phenylporphyrin (tcipp) /eu (tcipp) [pc( α- 2-oc8h17) 4] and euh (tcipp) [pc (a-2-oc8h17) 4] supplied by Qiyue
LabVIEW training
Global and Chinese market of electrolyte analyzers 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets for medical temperature sensors 2022-2028: Research Report on technology, participants, trends, market size and share
unittest框架基本使用
Example of peanut shell inner net penetration
Part 27 supplement (27) buttons of QML basic elements
Global and Chinese market of rubidium standard 2022-2028: Research Report on technology, participants, trends, market size and share
JMeter connection database
Recommendation of books related to strong foundation program mathematics
Exercises of function recursion
AcWing 1460. Where am i?
Microservice knowledge sorting - search technology and automatic deployment technology
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of rotary tablet presses in the global market in 2022
Today's work summary and plan: February 14, 2022
It is discussed that the success of Vit lies not in attention. Shiftvit uses the precision of swing transformer to outperform the speed of RESNET
JMeter plug-in installation
In 2021, the global general crop protection revenue was about $52750 million, and it is expected to reach $64730 million in 2028
How to modify the network IP addresses of mobile phones and computers?
4. Data splitting of Flink real-time project