I am trying to connect to a MariaDB instance on a Synology NAS. For this I have downloaded a JDBC driver from mariadb.com and installed it in Developer.
So now in developer I can succesfully connect to the database on my NAS. Now I have deployed Servoy to a tomcat instance and I have included the drivers in the WAR file. But when I try to start the instance it will not start in the logs it says the driver cannot be found:
Caused by: java.sql.SQLException: JDBC Driver ‘org.mariadb.jdbc’ not found in classpath or drivers directory : java.lang.ClassNotFoundException: org.mariadb.jdbc or url ‘jdbc:mariadb://192.168.178.4/repository’ is not valid/accepted by the driver (if no suiteable driver found message): org.mariadb.jdbc
However I can see the mariadb.jar file in the deployed WEB-INF\lib folder.
As this is the first time I try to deploy using a different db as the default Postgresql I am mostlikely missing something, but what? Any ideas?