imports com.digi.xbee.api not resolving in java code for XBee Zigbee Mesh Kit User Guide.

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 type

    at 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

The choice between desktop and mobile is wide, and I’m going to do something unusual here. Rather than taking you further with evidence and bringing you to my conclusion at the end of this post, I’m going to tell you the answer ahead of time. Which is better: desktop or mobile?https://haleyhaleybrown.doodlekit.com/blog/entry/13567291/desktop-versus-mobiel-op-facebookadvertenties-wat-is-een-betere-deal

Bad bot. mods please?