# Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter

**URL:** <https://talk.openmrs.org/t/error-could-not-find-or-load-main-class-org-apache-maven-surefire-booter-forkedbooter/20509>\
**Category:** Development\
**Created:** [November 7, 2018, 5:37pm UTC](https://talk.openmrs.org/t/error-could-not-find-or-load-main-class-org-apache-maven-surefire-booter-forkedbooter/20509 "2018-11-07T17:37:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 7, 2018, 8:44pm UTC](https://talk.openmrs.org/t/error-could-not-find-or-load-main-class-org-apache-maven-surefire-booter-forkedbooter/20509/2 "2018-11-07T20:44:32Z")

</div>

As you can see here: [New Bamboo agent available for tests](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/11)

We have been using this successfully to all modules: [https://github.com/openmrs/openmrs-module-webservices.rest/commit/9f146c8f80878e00244921dcb1fb931dafb61072](https://github.com/openmrs/openmrs-module-webservices.rest/commit/9f146c8f80878e00244921dcb1fb931dafb61072)

But it turned out to introduce more test failures for the webservices rest module. So i have instead applied your fix and it worked: [https://github.com/openmrs/openmrs-module-webservices.rest/commit/932ea5da9355faa1d9e87ec495356e53cf9f49c7](https://github.com/openmrs/openmrs-module-webservices.rest/commit/932ea5da9355faa1d9e87ec495356e53cf9f49c7)

Thanks @mogoodrich 🙂

cc @cintiadr

---

_[View the full topic](https://talk.openmrs.org/t/error-could-not-find-or-load-main-class-org-apache-maven-surefire-booter-forkedbooter/20509)._
