I am writing a client program that establishes a connection to the server using the sql2o framework. However, when trying to install an IDEA connection, it throws an error:

No found driver for jdbc: oracle: thin: @ address

The code looks like this:

String URL = "jdbc:oracle:thin:@адрес"; String USER = "логин"; String PASS = "пароль"; Sql2o sql2o = new Sql2o(URL, USER, PASS); Connection con = sql2o.open(); 

As I understand it, JDBC should load the necessary drivers by itself, and Class.forName() does not need to be written. But why then the program does not work?

    0