websphere configuration mysql data source test connection error
Today, the Mysql data source is configured with webSphere, and the following error is reported when testing the connection:
Message
On the server server1 on the node PC-20160403WYDINode01, the test connection operation performed on the data source mysql_jdbc_DataSource is due to the following exception java.sql.SQLException: java.lang. IllegalAccessError: Class com/mysql/jdbc/NonRegisteringDriver failed to access member "protected" of class com/mysql/jdbc/ConnectionImpl illegally. See the JVM logs for further details.
After testing, it was found that the mysql driver package version was too high. The mysql-connector-java-5.1.24-bin.jar used at the beginning was later replaced by mysql-connector-java-5.1.15-bin.jar. The test was successful .
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326646085&siteId=291194637
Recommended
Ranking