java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/javaweb?useSSL=false

Stack Overflow | Dipsraj | 1 month ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca and rafael . Or join the community to write better ones.
  1. 0

    Can we open mysql connection from a servlet ? (using mysql connector)

    Stack Overflow | 1 month ago | Dipsraj
    java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/javaweb?useSSL=false
  2. 0
    samebug tip
    Install Java Cryptopraphic Extention for your JDK version
  3. 0
    samebug tip
    If you are using maven you'd like to exclude your binaries from filtering process.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.sql.SQLException: No suitable driver found for jdbc:mysql://*

    Stack Overflow | 3 months ago | Shanie Christine
    java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/ebookshop?useSSL=false
  6. 0
    samebug tip
    This happens when you read the input as binary stream getInputStream() and character stream getReader, you can only use one way, or you can try this workaround https://goo.gl/IspUjB

  1. DoktorDoener666 1 times, last 1 month ago
  2. jpvee 5 times, last 3 months ago
  3. andyglick 1 times, last 3 months ago
  4. jshakil 1 times, last 5 months ago
  5. linxiaolong 8576 times, last 1 week ago
2 more registered users
51 unregistered visitors
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. java.sql.SQLException

    No suitable driver found for jdbc:mysql://localhost:3306/javaweb?useSSL=false

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:689)
    2. java.sql.DriverManager.getConnection(DriverManager.java:247)
    2 frames
  3. db
    DatabaseConnectionOpen.runQuery
    1. db.DatabaseConnectionOpen.runQuery(DatabaseConnectionOpen.java:28)
    1 frame
  4. servlets
    FirstServlet.doGet
    1. servlets.FirstServlet.doGet(FirstServlet.java:30)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    2 frames
  6. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  7. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  8. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
    10 frames
  9. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    3 frames
  10. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  11. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame