I’m developing an openhab2 binding which uses a serial port (RXTX). I’ve found nrjavaserial, and am importing gnu.io. When I try to run I get a "Missing Constraint: Import-Package: gnu.io; version “0.0.0”. I’ve tried various things to get past the runtime error, to no avail. I’ve found org.openhab.io.transport.serial, which seems to simply wrap RXTX, but no matter what I try (putting it in as a reference library, importing org.openhab.io.transport.serial, etc), I get the same runtime error.
What am I missing?