I'm trying to upgrade a very old JavaFX application which uses in the [Main][1] view a set of controls from the packages javafx.scene such as javafx.scene.SceneBuilder or javafx.scene.control.TextField. I have added the following dependency in the pom.xml:
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>17.0.1</version>
</dependency>
However, when I try to build the project, all Classes in the javafx.scene packages are not found.
Is there a separate dependency to add for this package ? According to the product docs, only the above is mentioned. Any help? Thanks [1]: https://github.com/fmarchioni/jboss-as-quickstart/blob/master/kitchensink-javafx/src/main/java/org/kitchensinkfx/view/Main.java