java.sql.SQLException

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

Solutions on the web10160

  • Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver
  • via SonarSource JIRA by Alexandre Navarro, 1 year ago
    SQL driver not found org.apache.derby.jdbc.ClientDriver
  • via SonarSource JIRA by Mik Quinlan, 1 year ago
    SQL driver not found org.apache.derby.jdbc.ClientDriver
  • Stack trace

    • 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.<init>(DriverDataSource.java:98) at org.apache.cayenne.conn.DriverDataSource.<init>(DriverDataSource.java:84) at org.apache.cayenne.conn.PoolManager.<init>(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 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.