[Solved] Netbeans : Failed executing NetBeans: Error while executing process. Cannot run program

If you are doing netbeans plugin development and having this error, that mean the nbm-maven-plugin has detected your netbeans wrongly. You can manually set the variable to your current netbeans directory, it will be fixed.

Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:4.1:run-ide (default-cli) on project netbeans-minimap: Failed executing NetBeans: Error while executing process. Cannot run program “/Applications/NetBeans/NetBeans 8.0.2.app/Contents/Resources/NetBeans/bin/netbeans”: error=2, No such file or directory -> [Help 1]

read count : 2