I am facing the same issue. I have added the ojdbc driver to the lib folder of tomcat as well as to haulmont folder and added the dependency to build.gradle .
I am able to generate the Db scripts but I can’t run the server as it shows only update db and cancel option. The update db throws " java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver "
what should I do ??
The initial topic relates Studio 6.X.
I guess you are using Studio Intellij Edition. It has different workflow for the case of using Oracle or MySQL database.
Go to the CUBA > Settings > Database Proprietary Drivers, click on the Oracle Database add button.
Studio shows a dialog where you can upload driver from the local file system to the correct locations in the project and Studio itself. After uploading a driver, restart Studio.