Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to find mvn.bat inspite of the file present at the lo

Divya Bhandary April 30, 2020


I am getting the below error message when I run a maven build on Bamboo.

Unable to find executable at C:\apache-maven-3.3.9\bin\mvn.bat. Will try to run it anyway.


I have set up Environment Variables M2, M2_HOME, MAVEN_HOME - C:\apache-maven-3.3.9
and Path - C:\apache-maven-3.3.9\bin

I have added the Server Capability -> Maven Atlassian - C:\apache-maven-3.3.9

I have copied the mvn.cmd and mvnDebug.cmd files and created a .bat file at the 'C:\apache-maven-3.3.9\bin' location. 
I am still getting the same error message displayed when the build is run. 




1 answer

1 accepted

0 votes
Answer accepted
Divya Bhandary May 3, 2020

Please close this thread. It is working for me. I made a mistake of configuring the value in the Sever Capabilities. I fixed this and now the build is running successfully. 


Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events