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)

6 comments
Comment actions Permalink

Hi,

  1. Could you specify DataGrip version you use?
  2. Could you provide a screenshot of your data source settings?
  3. Could you provide driver version you use?


Thank you.

0
Comment actions Permalink

Using DG 2017.2.2, settings here, it says Latest but the latest version available to me is 1.3.1.

0
Comment actions Permalink

@Tyteen4a03  Hi,
Could you choose net.sourceforge.jtds.jdbc.Driver in class drop down:


Thank you.

0
Comment actions Permalink

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)

0
Comment actions Permalink

Hi,

Could you attach a screenshot of your data source settings (General tab)?

E.g.:


Thank you.

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.