Error in Maven build: mvn.bat not recognized

前端 未结 3 956
轮回少年
轮回少年 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:56

    Maven 3.3+ has no more mvn.bat you should use version 2.5.2+ of the maven-release-plugin : https://issues.apache.org/jira/browse/MRELEASE-902

提交回复
热议问题