Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4114

Simple JavaFX Maven Archetype (Gluon) produces code that cannot find mainClass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.3
    • None
    • javafx - Project
    • None
    • Windows 10, Java 14, NB 11.3

    Description

      Working with Java 14 the project created from the Simple JavaFX Maven Archetype or FXML JavaFX Maven Archetype cannot run the code generated. Error is:

      Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project WillIWortk: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java are missing or invalid -> [Help 1]

      Its not missing and the path is correct. So is the reference to mainClass in the pom.xml

      Attachments

        Activity

          People

            Unassigned Unassigned
            omniprof Kenneth Fogel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: