Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
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 :P 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