Hello. I am trying to use https://github.com/albfernandez/javadbf to read from (and write to) an old xbase DBF file. It is listed on maven (https://mvnrepository.com/artifact/com.github.albfernandez/javadbf) and so I added this to deps.edn (inside :deps)
com.github.albfernandez/javadbf {:mvn/version "1.14.1"}
That downloaded the jar inside .m2 which is as expected.
Now comes the hard part. I tried requiring the lib, without any success.
(ns invoice-parser.get-dbf-data
(:require [com.github.albfernandez/javadbf :refer DBFReader :as jdbf]))
the require line always fails (with or without the :refer part). I am desperate... any ideas how I should require this?I found it !
(:import (com.linuxense.javadbf DBFReader DBFUtils))
And got it working too 😀