[
I am trying to make a JavaFX application following the MVC Method. I've created a
Main.java
file to launch the application, a controller.java
and a view.fxml
file.
When I try to launch the application (main file) I get the following error: Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found
.
I have another project where I copied these three files into, inside the same eclipse IDE, with the same build path and VM arguments, and there it works. The thing is, that I need it inside my project, not the "mock" project where it seems to work. I hope this is not too confusing, so I will add some screenshots.
On the image you can see the package explorer, with the said projects extended. As you can see, both have the same files AND the same Librarys included.
The second image is in order to demonstrate, that both project include the javafx.controls.jar
files. Not even my professor was able to help me...
Does ANYONE have an idea as to what might be causing this issue?
Thanks. [
edit I've added screenshots to show you what my dependencies Tab in the run conigurations include.