
This file contains the name of the JDBC drivers implementation of. JDBC 4.0 Drivers must include the file META-INF/services/. The DriverManager methods getConnection and getDrivers have been enhanced to support the Java Standard Edition Service Provider mechanism. So you just remove this from your code:Īnd things should work fine.

That version of MySQL JDBC driver is a Type 4 JDBC driver, which means that you don't have to use the Class.forName(.) statement for loading the driver in your code. Some documentation that I can use as a resource would be great. Can someone point me in the right direction. I'm sure the solution is simple but I don't see it.

I read documentation that said I needed to have the driver in my lib folder but that didn't work. I'm using Wildfly 10 and my datasource in the standalone.xml is:
