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
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.