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

Error while running bamboo yaml file using bamboo spec



we are getting the below error when we try to build using the bamboo yaml spec, can someone please advise. Thanks.

Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher


using the below script in bamboo yaml file:

- scripts:
- M3_HOME=/opt/maven-3.3
- ${M3_HOME}/bin/mvn clean package

1 answer

1 accepted

0 votes
Answer accepted

Hi @fitch-devops

I'm afraid that is a maven configuration issue.

I was able to run that script and get successful results using both M2_HOME and M3_HOME variables.

Have you tried running those two command lines in your Bamboo agent machine directly using the terminal? What is the result you get?

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

52 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