I am working on a JavaFx project using maven on Intellij community. I am facing error 'JavaFX runtime components are missing, and are required to run this application' on javafx executable jar but on Intellij everything is ok. How can I resolve this issue. How can I make sure javafx runtime is included in the executable jar file when using maven
I tried:
- adding java fx sdk jars in lib folder to my project
- adding java fx sdk jars in bin folder to my project