Exception in thread "main" java.lang.ClassNotFoundException: com.sybase.jdbc4.jdbc.SybDriver
I got this error when I'm trying to connect to a Sybase server - how can I fix this? I don't have any custom drivers loaded.
Exception in thread "main" java.lang.ClassNotFoundException: com.sybase.jdbc4.jdbc.SybDriver
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.database.remote.RemoteJdbcServer.main(RemoteJdbcServer.java:14)
Please sign in to leave a comment.
Hi,
Thank you.
Using DG 2017.2.2, settings here, it says Latest but the latest version available to me is 1.3.1.
@Tyteen4a03 Hi,
Could you choose net.sourceforge.jtds.jdbc.Driver in class drop down:
Thank you.
Now it says Incorrect driver and/or connection setting specified.
By the way, where do I put the Server name field? (I'm trying to follow the instructions here: https://www.veritas.com/support/en_US/article.000009348, but with DataGrip instead of SQL Anywhere)
Hi,
Could you attach a screenshot of your data source settings (General tab)?
E.g.:
Thank you.
Unfortunately I'm not at liberty to disclose such information. I will say that there is no field to input the server name (different from the host) in the Sybase panel.