Tag: interbase

interbase.interclient.UnlicensedComponentException,包含最新的interclient.jar IB(v7.5.80)

我们正在尝试使用Java 8 spring应用程序打开一个连接到存储在某个file.gdb上的远程服务器上的遗留interbase数据库。 interclient.jar(interbase jdbc驱动程序)是通过从embarcadero interbase开发人员版本中提取的SDK \ lib文件夹获得的。 我们的application.properties: spring.jpa.database-platform=org.hibernate.dialect.InterbaseDialect spring.datasource.username=sysdba spring.datasource.password=masterkey spring.datasource.driver-class-name=interbase.interclient.Driver spring.datasource.url=jdbc:interbase://192.168.1.100:3050/d:/test.gdb 我们从远程主机获取此exception(在本地尝试使用’localhost’): 2015-01-20 18:45:32.628 ERROR 8880 — [ main] ohhspi.PersistentTableBulkIdStrategy : Unable obtain JDBC Connection interbase.interclient.UnlicensedComponentException: [interclient] Unlicensed component: This version of InterClient refuses communication with InterBase version WI-V7.5.1.80/tcp (Merav28-Srv)/P14. See API reference for exception interbase.interclient.UnlicensedComponentException at interbase.interclient.Connection.remote_ATTACH_DATABASE(Unknown Source) at interbase.interclient.Connection.connect(Unknown Source) […]

具有InterBase JDBC驱动程序的NoClassDefFoundError sun / io / ByteToCharConverter

使用InterClient 7.5.1和8.1.5,在Java 8中创建新的JDBC连接失败 java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter 此类似乎由InterClient JDBC库引用或使用。 Java 7没有出现错误。有没有办法解决此错误? 此代码重现了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[] args) { try { Class.forName(“interbase.interclient.Driver”); DriverManager.getConnection(“jdbc:interbase://localhost/data/mydb.gdb”, “sysdba”, “password123”); } catch (ClassNotFoundException | SQLException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } } } 输出: 线程“main”java.lang.NoClassDefFoundError中的exception:sun / […]