Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
  HXTT Cobol 5.0.131
  HXTT DBF 7.1.132
  Buy Now
  HXTT Excel 6.1.135
  HXTT Json 1.0.103
  HXTT Paradox 7.1.131
  HXTT PDF 2.0.131
  HXTT Text(CSV) 7.1.131
  HXTT Word 1.1.131
  HXTT XML 4.0.132
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 Lab of Xi'an 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 © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap