Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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



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

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
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

50 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you