Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  Buy Now
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

Driver issue when we use access-jdbc and dbf-jdbc jars together
Amit Kale
2010-02-22 22:37:16.0

We are using Access-JDBC jar in one of the module from our software whereas other module from our software is using dbf-jar to read the data from fox pro files. Due to this both these jars are present in our software library module. Recently we have upgraded the access-jdbc jars with latest version due to this the module which uses dbf-jdbc jars started failing by throwing the following exception :

Exception in thread "main" java.lang.VerifyError: (class: com/hxtt/sql/dbf/EmbeddedDriver, method: connect signature: (Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;) Incompatible argument to function
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at Source)
at com.hxtt.sql.HxttDriver.if(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(
at org.apache.commons.dbcp.BasicDataSource.createDataSource(
at org.apache.commons.dbcp.BasicDataSource.getConnection(
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(
at org.springframework.jdbc.core.JdbcTemplate.execute(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(

What strange thing i have noticed over here is the class "HxttDriver" is present in both the jars with identical package hierarchy. When we upgraded the access-jdbc jars it started calling the latest class method and resulted in to this issue.

Your urgent help will be highly helpful for us as currently the software is unalble to load data from fox pro inputs.

Re:Driver issue when we use access-jdbc and dbf-jdbc jars together
HXTT Support
2010-02-23 06:34:05.0
You should download the latest DBF package too.

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap