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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.3
    • Fix Version/s: None
    • Component/s: javafx - Project
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated: