java.sql.SQLException: Can't load driver java.lang.reflect.InvocationTargetException

ibm.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    faq [Dinamica EGO]

    ufmg.br | 2 years ago
    java.lang.IllegalStateException: Failed to connect to spawned VM!
  3. 0

    Java Socket exception

    Stack Overflow | 6 years ago | Monojeet Nayak
    java.net.ConnectException: Connection refused: connect
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.net.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. com.informix.asf
    Connection.<init>
    1. com.informix.asf.Connection.openSocket(Connection.java:1630)
    2. com.informix.asf.Connection.<init>(Connection.java:260)
    2 frames
  4. com.informix.jdbc
    IfxSqliConnect.<init>
    1. com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:922)
    1 frame
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  6. com.informix.jdbc
    IfxDriver.connect
    1. com.informix.jdbc.IfxDriver.connect(IfxDriver.java:254)
    1 frame
  7. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  8. com.sample
    DriverManagerDemo.main
    1. com.sample.DriverManagerDemo.main(DriverManagerDemo.java:26)
    1 frame