Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to enable maven dependencies available for tests?

In Bamboo, I have created a project to run tests exclusively. The following dependency is mentioned in the pom.xml.


Source and test java classes are compiled successfully. But when tests start executing then I see the following error:

java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient

Please let me know if these dependencies are available for tests or not. Do I need to place these jars anywhere else other than the local maven repo? Thanks


0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events