[
https://issues.apache.org/jira/browse/IGNITE-14888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Kadaner updated IGNITE-14888:
Description:
I am getting the following error on Java 16:
{code:java}
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.IgniteJdbcThinDriver
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:466)
at
java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:555)
at
java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:547)
at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:449)
at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:426)
at
com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:60)
{code}
I am not even trying to use the JDBC driver. Unfortunately, Hikari performs
Class.forName() on all JDBC drivers in the classpath, and I have a dependency
on ignite-core.jar. The jar is part of the Java thick client.
Currently, this issue prevents me from upgrading to Java 16
was:
I am getting the following error on Java 16:
{code:java}
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ignite.IgniteJdbcThinDriver
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:466)
at
java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:555)
at
java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:547)
at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:449)
at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:426)
at
com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:60)
{code}
I am not even trying to use the JDBC driver. Unfortunately, Hikari performs
Class.forName() on all JDBC drivers in the classpath, and I have a dependency
on ignite-core.jar
Currently, this issue prevents me from upgrading to Java 16
> IgniteJdbcThinDriver fails to initialize on Java 16
> ---
>
> Key: IGNITE-14888
> URL: https://issues.apache.org/jira/browse/IGNITE-14888
> Project: Ignite
> Issue Type: Bug
> Components: jdbc
>Affects Versions: 2.9.1
>Reporter: Sergey Kadaner
>Priority: Major
>
> I am getting the following error on Java 16:
> {code:java}
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
> org.apache.ignite.IgniteJdbcThinDriver
> at java.base/java.lang.Class.forName0(Native Method)
> at java.base/java.lang.Class.forName(Class.java:466)
> at
> java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:555)
> at
> java.sql/java.sql.DriverManager.isDriverAllowed(DriverManager.java:547)
> at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:449)
> at java.sql/java.sql.DriverManager.getDrivers(DriverManager.java:426)
> at
> com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:60)
> {code}
> I am not even trying to use the JDBC driver. Unfortunately, Hikari performs
> Class.forName() on all JDBC drivers in the classpath, and I have a dependency
> on ignite-core.jar. The jar is part of the Java thick client.
> Currently, this issue prevents me from upgrading to Java 16
--
This message was sent by Atlassian Jira
(v8.3.4#803005)