interbase

NoClassDefFoundError sun/io/ByteToCharConverter with InterBase JDBC driver

浪子不回头ぞ 提交于 2019-11-27 15:36:34
With InterClient 7.5.1 and 8.1.5, the creation of a new JDBC connection in Java 8 fails with java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter This class seems to be referenced or used by the InterClient JDBC library. The error does not occur with Java 7. Is there a way to work around this error? This code reproduces the problem on Java 8: package com.example.so25365952; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; public class Main { interbase.interclient.Connection conn; public static void main(String[]

NoClassDefFoundError sun/io/ByteToCharConverter with InterBase JDBC driver

寵の児 提交于 2019-11-26 17:14:05
问题 With InterClient 7.5.1 and 8.1.5, the creation of a new JDBC connection in Java 8 fails with java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter This class seems to be referenced or used by the InterClient JDBC library. The error does not occur with Java 7. Is there a way to work around this error? This code reproduces the problem on Java 8: package com.example.so25365952; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util