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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.