org.apache.commons.dbcp.SQLNestedException: Cannot create driver of class '' for connect URL 'jdbc:mysql://localhost:8080/sksoftwares', cause: : No suitable driver

coderanch.com | 3 months ago
  1. 0

    java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource (Struts forum at Coderanch)

    coderanch.com | 6 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot create driver of class '' for connect URL 'jdbc:mysql://localhost:8080/sksoftwares', cause: : No suitable driver
  2. 0

    java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource (Struts forum at Coderanch)

    coderanch.com | 3 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot create driver of class '' for connect URL 'jdbc:mysql://localhost:8080/sksoftwares', cause: : No suitable driver
  3. 0

    java.sql.SQLException: No suitable driver

    Oracle Community | 1 decade ago | 843838
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot create JDBC Driver of class '' for connect URL 'jdbc:odbc:anand'

    Oracle Community | 1 decade ago | 843854
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:jtds:sqlserver://172.21.1.11:1433/pubs;TDS=7.0;charset=MS 932', cause:java.sql.SQLException: No suitable driver<br>
  6. 0

    Don't understand factory pattern for DB creation

    Oracle Community | 1 decade ago | 843854
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.dbcp.SQLNestedException

      Cannot create driver of class '' for connect URL 'jdbc:mysql://localhost:8080/sksoftwares', cause: : No suitable driver

      at java.sql.DriverManager.getDriver()
    2. Java RT
      DriverManager.getDriver
      1. java.sql.DriverManager.getDriver(Unknown Source)
      1 frame
    3. Commons DBCP
      BasicDataSource.setLogWriter
      1. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)
      2. org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:576)
      2 frames
    4. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1087)
      2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
      2 frames
    5. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
      1 frame
    6. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
      5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      8. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
      9. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
      10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
      11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
      12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      15. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      18. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      20. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      20 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames