ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Issue with sql task accessing MySql
Date Wed, 28 Aug 2019 18:28:49 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message