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

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

Samebug tips

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via ibm.com by Unknown author, 7 months ago
Can't load driver java.lang.reflect.InvocationTargetException<br />
via ibm.com by Unknown author, 1 year ago
via liferay.com by Unknown author, 1 year ago
Can't load driver java.lang.reflect.InvocationTargetException
java.sql.SQLException: Can't load driver java.lang.reflect.InvocationTargetException
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:389)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:250)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:543)
at java.net.Socket.connect(Socket.java:493)
at java.net.Socket.(Socket.java:401)
at java.net.Socket.(Socket.java:210)
at com.informix.asf.Connection.openSocket(Connection.java:1630)
at com.informix.asf.Connection.(Connection.java:260)
at com.informix.jdbc.IfxSqliConnect.(IfxSqliConnect.java:922)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:254)
at java.sql.DriverManager.getConnection(DriverManager.java:562)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at undefined.Test_Conn.main(Test_Conn.java:21)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 times, 8 months ago
949 more bugmates

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