如何安装com.mysql.jdbc.Driver“找不到类名称为com.mysql.jdbc.Driver的驱动程序”? [英] How to install com.mysql.jdbc.Driver "Could not find driver with class name: com.mysql.jdbc.Driver"?
问题描述
我正在设置Atlassian Confluence,在选择数据库时,我选择了使用外部Mysql DB
时遇到了麻烦,但我看到了一些教程,但对我而言,它并没有解决应有的工作方式。我使用ubuntu 12.04 Server并安装了mysql。现在,我尝试与外部数据库进行融合,并且需要此连接器驱动程序才能使其正常工作。
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.
我已经做了:
sudo apt-get install libmysql-java
并且我已经安装了Java。
and I have java installed.
java version "1.6.0_27"
任何帮助都可以快速获得:)
any help is upvoted fast :)
推荐答案
您在您的类路径中没有
mysql-connectorxx.jar
确保它添加了您面临的错误解决
You don't have mysql-connectorxx.jar
in your class path
make sure its added the error you are facing will be resolved
这篇关于如何安装com.mysql.jdbc.Driver“找不到类名称为com.mysql.jdbc.Driver的驱动程序”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!