How to install com.mysql.jdbc.Driver “Could not find driver with class name: com.mysql.jdbc.Driver”?

对着背影说爱祢 提交于 2019-12-02 07:21:52

问题


I am setting up Atlassian Confluence and when it comes to choosing the database I stuck when I choose "use external Mysql DB" I saw some tutorials, but for me it didnt work out the way it should work. I use ubuntu 12.04 Server and have mysql installed. Now I tried to run confluence with an external database and I need this connector driver to make it work.

I already did :

sudo apt-get install libmysql-java

and I have java installed.

java version "1.6.0_27"

any help is upvoted fast :)


回答1:


You don't have mysql-connectorxx.jar in your class path make sure its added the error you are facing will be resolved



来源:https://stackoverflow.com/questions/18617108/how-to-install-com-mysql-jdbc-driver-could-not-find-driver-with-class-name-com

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!