Class [org.apache.derby.jdbc.ClientDriver] not found Exception [duplicate]

拥有回忆 提交于 2019-12-02 13:12:36

Please add your jdbc driver to the classpath of your project. It should work. Currently, the class loader is unable to load your driver class as it does it does not find it in the classpath

Download the version of Apache Derby you need from here. Extract the zip and you should get derbyclient.jar which has the class org.apache.derby.jdbc.ClientDriver.

FYI : If your application runs on JDK 1.6 or higher, then you do not need to explicitly load the EmbeddedDriver. In that environment, the driver loads automatically.

Aakash

You need to add derbyclient.jar to your classpath. You can find this jar in the download package of derby from here. This jar contains your org.apache.derby.jdbc.ClientDriver.

For more information, see this answer : where is org.apache.derby.jdbc.ClientDriver?

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