no suitable driver found, jdbc installed as maven dependency

Hello, I have the same problem as this https://vaadin.com/forum#!/thread/9578115 .

I have added the jdbc driver through maven following the instructions found here: https://dimitrisli.wordpress.com/2012/08/09/maven-install-ojdbc6/

In my project properties under Deployment Assembly, I see that Maven depencies are deployed to WEB-INF/lib so since the driver is installed as a maven dependency it should be working out of the box? I have also tried
Class.forName(“com.mysql.jdbc.Driver”);
to no avail, and also tried settings the scope of ofjdbc6 to “runtime”

Any ideas? thanks


EDIT: found the solution, I was stupidly trying to load the mysql driver with an oracle database, stupid copy paste :stuck_out_tongue: If anybody runs into the same problem, you must use Class.forName(“oracle.jdbc.driver.OracleDriver”); even if the docs say this is not needed for java 8