Error in Maven build: mvn.bat not recognized

前端 未结 3 900
轮回少年
轮回少年 2021-02-05 11:24

While trying to build a Java project under NetBeans (with an external Maven configured), I got the following error:

\"C:\\Users......\\bin\\mvn.bat\"\" is

3条回答
  •  鱼传尺愫
    2021-02-05 11:59

    Install Netbeans 8.1 or later to correct this issue.

    As @mkleint noted, this is a problem with Maven 3.3.3+ where maven changed the mvn executable extension.You can download the latest version on the Netbeans website.

提交回复
热议问题