Relative Content

Tag Archive for kotlingradlejavafx

Gradle Error: ‘Cannot access class’ in integration test for JavaFX-based project

I have a JavaFX-based project written in Kotlin that has both unit tests and integration tests. I recently added an integration test which touches a class that uses ObservableMap. When I try to run integration tests with Gradle, it gives me the error ‘Cannot access class ‘javafx.collections.ObservableMap’. Check your module classpath for missing or conflicting dependencies’.