Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
3.0.11
-
None
-
The issue happens on Windows 10, or Linux Ubuntu. The application runs on top of OSGi 3.11. The connection string contains the parameter. allowPublicKeyRetrieval=true
Description
The problem happens when the application tries to connect to MySQL 8.0
17:08:37.068 E [FrontRunnerStarter] exceptions->y:2942 - Uncaught exception in Thread<Thread[FrontRunnerStarter,10,main]> |
java.lang.NoClassDefFoundError: javax/crypto/Cipher
|
at org.mariadb.jdbc.plugin.authentication.standard.CachingSha2PasswordPlugin.encrypt(CachingSha2PasswordPlugin.java:248) |
at org.mariadb.jdbc.plugin.authentication.standard.CachingSha2PasswordPlugin.process(CachingSha2PasswordPlugin.java:165) |
at org.mariadb.jdbc.client.impl.ConnectionHelper.authenticationHandler(ConnectionHelper.java:301) |
at org.mariadb.jdbc.client.impl.StandardClient.<init>(StandardClient.java:189) |
at org.mariadb.jdbc.Driver.connect(Driver.java:70) |
at org.mariadb.jdbc.Driver.connect(Driver.java:101) |
at org.mariadb.jdbc.Driver.connect(Driver.java:27) |
at java.sql.DriverManager.getConnection(DriverManager.java:664) |
at java.sql.DriverManager.getConnection(DriverManager.java:208) |
...
|
Caused by: java.lang.ClassNotFoundException: javax.crypto.Cipher cannot be found by mariadb-java-client_3.0.11 |