I had trouble following the XBee Zigbee Mesh user guide Java application for wireless data transmission.
Issues - XBeeTransmitDataCoord : The capital X at the beginning of the module name is “discouraged”
-
after moving MainApp.Java (to package ‘com.digi.xdmk.transmitdata’) I still had a number of errors. Running app produced the follow errors:
Exception in thread “main” java.lang.Error: Unresolved compilation problems:
XBeeDevice cannot be resolved to a type
XBeeDevice cannot be resolved to a type
XBeeNetwork cannot be resolved to a type
RemoteXBeeDevice cannot be resolved to a type
RemoteXBeeDevice cannot be resolved to a type
XBeeException cannot be resolved to a type
XBeeException cannot be resolved to a typeat XBeeTransmitDataCoord/com.digi.xdmk.transmitdata.MainApp.main(MainApp.java:59)
I was using JRE 15
Once I had created a new project using JRE 8 everything worked. I am unsure what the workings behind this are.
I would hope the User guide could be updated to reflect the above issue.
edit: changed version number from 1.8 to 8