Hi,
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
Hi @[deleted]
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.