Maven won't run my Project : Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec

后端 未结 14 699
暖寄归人
暖寄归人 2020-12-09 04:21

I can\'t run the Maven Netbeans JavaFX example :

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exe         


        
14条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-09 05:13

    Try to run Maven from the command line or type "-X" in the text field - you can't break anything this way, at the worst, you'll get an error (I don't have Netbeans; in Eclipse, there is a checkbox "Debug" for this).

    When running with debug output enabled, you should see the paths which the exec-maven-plugin plugin uses.

    The next step would then be to copy the command into a command prompt or terminal and execute it manually to see if you get a useful error message there.

提交回复
热议问题