java.sql.SQLException: Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 1 year ago
Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver
via Stack Overflow by Unknown author, 2 years ago
Can not load JDBC driver named 'com.mysql.jdbc.Driver': com.mysql.jdbc.Driver
java.sql.SQLException: Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver
at org.apache.cayenne.conn.DriverDataSource.loadDriver(DriverDataSource.java:59)
at org.apache.cayenne.conn.DriverDataSource.setDriverClassName(DriverDataSource.java:253)
at org.apache.cayenne.conn.DriverDataSource.(DriverDataSource.java:98)
at org.apache.cayenne.conn.DriverDataSource.(DriverDataSource.java:84)
at org.apache.cayenne.conn.PoolManager.(PoolManager.java:89)
at org.apache.cayenne.conf.DriverDataSourceFactory.getDataSource(DriverDataSourceFactory.java:82)
at org.apache.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(RuntimeLoadDelegate.java:334)
at org.apache.cayenne.conf.ConfigLoader$NodeHandler.init(ConfigLoader.java:345)
at org.apache.cayenne.conf.ConfigLoader$DomainHandler.startElement(ConfigLoader.java:222)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:78)
at org.apache.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:152)
at org.apache.cayenne.remote.service.BaseRemoteService.initCayenneStack(BaseRemoteService.java:207)
at org.apache.cayenne.remote.service.BaseRemoteService.initService(BaseRemoteService.java:76)
at org.apache.cayenne.remote.hessian.service.HessianService.init(HessianService.java:65)
at org.apache.cayenne.remote.hessian.service.HessianServlet.init(HessianServlet.java:76)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:842)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.