in a scalafx application I am using (want to use) ObservableMap so that changes to the map can be reacted upon in the GUI.
The Scala API says
(Since version 2.11.0) observables are deprecated because scripting is deprecated
You probably have issues with imports. You want to use