Search code examples
javaeclipsems-accessjackcess

How to import Jackcess and its dependencies into Eclipse?


I am trying to install Jackcess because I am developing a web app that is going to store information in an Access database.

I've tried downloading multiple .jar files that all appear to be the ones i need (apache-commons-lang and apache-commons-logging) but after adding them to the build path i continue getting the same ClassNotFoundException.

The exception went away for the jackcess missing class but after repeating the process for the others I am still getting the same problem. Any help or direction to where i can download the correct versions of these .jars would be greatly appreciated.


Solution

  • Jackcess depends on specific versions of two Apache libraries. As documented on the Jackcess dependencies page, for Jackcess 3.0.1 you need to provide

    • commons-logging version 1.2 (link), and
    • commons-lang3 version 3.8.1 (link)