On Thu, 13 Mar 2025 at 20:02, Kenneth Fogel <kfo...@dawsoncollege.qc.ca> wrote: > Here is the github link to a very trivial project: > https://github.com/omniprof/javafx_01_basicexample.git > > It is Maven based. If I try to run the project I get the following error: > Error: JavaFX runtime components are missing, and are required to run this > application > If I use Run Maven -> Other goals and just hit enter it runs.
Ah, OK, you didn't mention JavaFX. That brings a different complexion to this, as that has its own plugin goals to consider. This is (was) covered somewhere in the JavaFX docs - check the modular Maven section at https://openjfx.io/openjfx-docs/#IDE-NetBeans Anyway, if you want your existing project to work, you need to override the goals attached to the run and other actions in the project properties to call javafx:run instead of the exec plugin. This will create an nbactions.xml in the project, which you could choose to check in. It's a curious question whether defaultGoal(s) should be considered in any of this. To be honest, I'd even forgotten that was an option. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists