Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
Hongxin Technology & Trade Ltd. of Xiangtan 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


Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap