You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HikariConfig config = new HikariConfig();
config.setDriverClassName("com.mysql.cj.jdbc.Driver");
if minimize() step is done, error:
Exception in thread "main" java.lang.RuntimeException: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader
at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:494)
at me.test.webserver.MySQLStorageProvider.(MySQLStorageProvider.java:35)
at me.test.webserver.WebServer.main(WebServer.java:63)
Anything else?
The breakage is probably because reflection, will shadow ever plan to support reflection for minimize step?
The text was updated successfully, but these errors were encountered:
Expected and Results
minimize() shouldn't break jars using hikari
Related environent and versions
No response
Reproduction steps
HikariConfig config = new HikariConfig();
config.setDriverClassName("com.mysql.cj.jdbc.Driver");
if minimize() step is done, error:
Exception in thread "main" java.lang.RuntimeException: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader
at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:494)
at me.test.webserver.MySQLStorageProvider.(MySQLStorageProvider.java:35)
at me.test.webserver.WebServer.main(WebServer.java:63)
Anything else?
The breakage is probably because reflection, will shadow ever plan to support reflection for minimize step?
The text was updated successfully, but these errors were encountered: