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

    On Wednesday, August 28, 2019, 10:49:54 AM MDT, Stefan Bodewig 
<bode...@apache.org> wrote:  
 
 On 2019-08-28, Eric Fetzer wrote:

> The MySql server I'm accessing upgraded to version 8.0.17:

> So, accordingly, I downloaded the proper driver and linked to it in my task:

> <pathelement path="c:/apache-ant-1.7.0/lib/mysql-connector-java-8.0.17.jar"/>

> BUILD FAILEDc:\BuildDeployScripts\test.xml:22: 
> com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Client does 
> not support authentication protocol requested by server; consider upgrading 
> MySQL client

Anything in c:/apache-ant-1.7.0/lib is probably on your CLASSPATH
anyway. Is it possible there is an older version of the mysql connector
inside of that folder as well? If so, remove it.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

  

Reply via email to