Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JDBC Error in RubyMine 5.4

I have a problem with ruby mine 5.4 an connection to my sqlite3 or mysql database.

There comes allways the same error msg:

Connection to Rails rails3-bootstrap-devise-cancan-master: development failed: Exception in thread "main" java.lang.ClassNotFoundException: org.sqlite.JDBC
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at com.intellij.persistence.database.console.RemoteJdbcServer.main(RemoteJdbcServer.java:15)

Someone an idea how to fix this?

like image 950
Lailo Avatar asked Jul 05 '26 20:07

Lailo


1 Answers

You need to install the drivers following the steps in this page

https://www.jetbrains.com/help/ruby/8.0/configuring-a-db-data-source.html

like image 187
Mauricio Gracia Gutierrez Avatar answered Jul 07 '26 08:07

Mauricio Gracia Gutierrez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!