📌  相关文章
📜  java.lang.classnotfoundexception: org.mariadb.jdbc.driver - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:33.859000             🧑  作者: Mango

代码示例1
Like the error states, it can not find the class. 
This can be due to missing jar for Maria DB driver, or duplicate jars. 
If you are packaging your project as a Jar, then it is unlikely eclipse
will include mariadb driver.

So the first step to troubleshoot your problem is to find if the driver's 
jar exists or added to your classpath, or if there's another jar with the 
same class exsits on the classpath.