NoClassDefFoundError sun/io/ByteToCharConverter with InterBase JDBC driver

后端 未结 7 1608
天命终不由人
天命终不由人 2020-12-02 00:22

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
         


        
7条回答
  •  时光说笑
    2020-12-02 01:01

    The answer to the question interbase.interclient.UnlicensedComponentException with the latest interclient.jar IB (v7.5.80) seems to work for me too. It suggests to use version 1.5 of the JDBC driver for Firebird. Fortunately this driver does not rely on deprecated sun classes and works with JRE 8.

提交回复
热议问题