This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251380 - Maven 3.3.1: "%M2_HOME%\bin\mvn.bat is not recognized as an internal or external command, operable program or batch file"
Summary: Maven 3.3.1: "%M2_HOME%\bin\mvn.bat is not recognized as an internal or exter...
Status: RESOLVED DUPLICATE of bug 251213
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8 x64
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-23 15:42 UTC by emegeve
Modified: 2015-06-29 17:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emegeve 2015-03-23 15:42:36 UTC
When I try to run a Maven project configured as main, whether by pressing F6 or clicking in the "Run Main Project" toolbar button, I get the following message in the Output tab: ""C:\Users\MatiasGabriel\Programas\apache-maven-3.3.1\bin\mvn.bat"" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable." in Spanish, which means "[the command] is not recognized as an internal or external command, operable program or batch file". I recently upgraded from Maven 3.2.5 to 3.3.1. I believe this ticket is related: https://jira.codehaus.org/browse/MNG-5776.
Comment 1 emegeve 2015-03-23 16:06:37 UTC
I believe a temporary workaround is to make a copy of "mvn.cmd" and "mvnDebug.cmd" to "mvn.bat" and "mvnDebug.bat" respectively.
Comment 2 Tomas Stupka 2015-03-23 16:56:41 UTC

*** This bug has been marked as a duplicate of bug 251213 ***