I have this dependency: ``` <dependency&...
# exposed
a
I have this dependency:
Copy code
<dependency>
            <groupId>com.mysql</groupId>
            <artifactId>jdbc</artifactId>
            <version>5.1.43</version>
        </dependency>
v
If you can convert this gradle to maven, I got it to work with
Copy code
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.7-dmr'
a
I'm not quite sure how to do that without swapping to grade unfortunately
g
@aaronfox just add it to your dependencies: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.41</version> </dependency>
a
Okay, I'll try that when I get home from work. Cheers
Using this, it causes the same exception
g
It’s really strange. Do you have access to
com.mysql.jdbc.Driver()
in runtime?
a
yup
This beforehand compiles
Copy code
Class.forName("com.mysql.jdbc.Driver")
 com.mysql.jdbc.Driver()
but it still throws an exception when it attempts to perform a transaction stating there is no suitable driver when there clearly is
@gildor