Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

maven clean install fails with error classpath error: unable to find org.aspectj.lang.JoinPoint

When I run the task I get the follow error:



03-Jan-2018 13:44:52[ERROR] BUILD ERROR
03-Jan-2018 13:44:52[INFO] ------------------------------------------------------------------------
03-Jan-2018 13:44:52[INFO] Compiler errors :
03-Jan-2018 13:44:52error classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)
03-Jan-2018 13:44:52 
03-Jan-2018 13:44:52[INFO] ------------------------------------------------------------------------
03-Jan-2018 13:44:52[INFO] For more information, run Maven with the -e switch
03-Jan-2018 13:44:52[INFO] ------------------------------------------------------------------------
03-Jan-2018 13:44:52[INFO] Total time: 2 seconds
03-Jan-2018 13:44:52[INFO] Finished at: Wed Jan 03 13:44:52 CST 2018
03-Jan-2018 13:44:52[INFO] Final Memory: 34M/354M
03-Jan-2018 13:44:52[INFO] ------------------------------------------------------------------------
03-Jan-2018 13:44:52Failing task since return code of [/usr/share/maven2/bin/mvn --batch-mode clean install] was 1 while expected 0


This error occurs only in bamboo, when I compile directly the project works.


1 answer

0 votes
rsperafico Atlassian Team Jan 04, 2018

Hello @Allam Chaves,

So I can get a better understanding to the issue described, could you please let us know:

  • when I compile directly the project works.
    • Compile directly from where (IDE or Terminal)
    • if from IDE, could you please review if you had aspectjrt.jar available to classpath as an import. If this is the case, you should provide the same to your source code, so it can ben compiled outside the IDE
  • This error occurs only in bamboo
    • could you compile the same project from Terminal and review if the same compiles successfully
      cd /path/to/maven-project
      /usr/share/maven2/bin/mvn clean install
  • are you running your project using Maven2, according to Bamboo's capability (/usr/share/maven2/bin/mvn), this is what seems to be

Kind regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

256 views 4 6
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