# ConfiguredObjectMapper class not found

**URL:** <https://forum.library.adaptavist.com/t/configuredobjectmapper-class-not-found/356>\
**Category:** ScriptRunner\
**Tags:** confluence, script-console\
**Created:** [August 4, 2023, 6:22pm UTC](https://forum.library.adaptavist.com/t/configuredobjectmapper-class-not-found/356 "2023-08-04T18:22:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isaac](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@Isaac](https://forum.library.adaptavist.com/u/Isaac)\
**Post date:** [August 4, 2023, 6:22pm UTC](https://forum.library.adaptavist.com/t/configuredobjectmapper-class-not-found/356/1 "2023-08-04T18:22:00Z")

</div>

I have run into an issue in Scriptrunner where the Rest Endpoints page won’t load. It just sits there with the spinning circle and never loads.  
This started happening after I made an update to one of the Rest Services.

I found the following documentation that describes a way to manually delete Rest Endpoints in order to resolve this:  
[https://docs.adaptavist.com/sr4js/latest/get-help/troubleshooting/troubleshooting-rest-endpoints](https://docs.adaptavist.com/sr4js/latest/get-help/troubleshooting/troubleshooting-rest-endpoints)

In this documentation it has a console script that I can run to get the ID’s of the Rest Endpoint, but I am not able to execute it because one of the imports is not resolved:

import com.onresolve.scriptrunner.canned.ConfiguredObjectMapper

I am trying to run this on Confluence server 8.3.2

Has this class been moved, or is there some replacement class that should be used instead?

---

<div class="post-metadata">

**Author:** ![Isaac](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@Isaac](https://forum.library.adaptavist.com/u/Isaac)\
**Post date:** [August 8, 2023, 4:49pm UTC](https://forum.library.adaptavist.com/t/configuredobjectmapper-class-not-found/356/2 "2023-08-08T16:49:20Z")

</div>

For anyone with this issue, the following works to modify the documented script to run it

Use this import:  
import com.fasterxml.jackson.databind.ObjectMapper

And instantiate it like this  
def objectMapper = new ObjectMapper()
