An AI inspection shows a fix of the following: Make sure both files are the same version:
Option A (recommended): Replace RXTX entirely
The Digi xbee-java library is old and uses RXTX, which is deprecated and unstable.
Use NRJavaSerial instead:
Steps:
-
Remove
RXTXcomm.jar -
Remove
rxtxSerial.dll -
Add NRJavaSerial dependency
This is most likely a good fix option as the Java Library has not been updated in some time.