Re: Issue with sql task accessing MySql
Stefan Bodewig <[email protected]> Wed, 28 Aug 2019 20:28:49 +0200
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
On 2019-08-28, Eric Fetzer wrote: > Thanks Stefan, a bit better: > $ ant -f test.xmlBuildfile: test.xml > main: > BUILD FAILEDc:\BuildDeployScripts\test.xml:22: java.lang.UnsupportedClassVersionError: (com/mysql/jdbc/Driver) bad major version at offset=6 > Total time: 0 seconds You are running a version of Java that cannot use the new driver as it has been compiled for a newer version. Unless the driver provides a version for an older version of Java (unlikely but not completely impossible) there is no other options than updrading the version of Java you use. Stefan