NoClassDefFoundError sun/io/ByteToCharConverter with InterBase JDBC driver

后端 未结 7 1600
天命终不由人
天命终不由人 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:04

    Use db2jcc4.jar which is latest version. If you changed your mind to use Java 8 you need to use this.

    I have the similiar problem and this change help me to fix the error.

提交回复
热议问题