jarkanoid
jarkanoid copied to clipboard
java.lang.module.ResolutionException when launching the app
Hi,
Thanks for sharing your work.
I'm trying to run the application starting it from the Launcher class.

But everytime that I try I get this exception
> Task :Launcher.main() FAILED
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Module eu.hansolo.fx.jarkanoid contains package javafx.collections.transformation, module javafx.base exports package javafx.collections.transformation to eu.hansolo.fx.jarkanoid
The strange thing is that the exception message varies with each execution:
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Module eu.hansolo.fx.jarkanoid contains package javafx.scene.control, module javafx.controls exports package javafx.scene.control to eu.hansolo.fx.jarkanoid
Or:
Error occurred during initialization of boot layer
java.lang.module.ResolutionException: Module eu.hansolo.fx.jarkanoid contains package javafx.beans, module javafx.base exports package javafx.beans to eu.hansolo.fx.jarkanoid
Any help will be much appreciated.
My configuration is the following: openjdk-19.0.2, IntelliJ IDEA 2022.3.2 (Ultimate Edition) and macOS Ventura.