Error Injector.InstanceNotFoundException using the For Newbies guide

I’m trying to go through the newbie intro and have run into a wall on the Restful section. (

I have gotten everything to work up to the point of calling the restful version of the app using one of the requests for specific data types (

I probably just missed entering a line of code somewhere but I can’t find it. Any suggestions would be appreciated.

This is the error I am getting:

Error Details:
Type: Injector.InstanceNotFoundException
Message: Requested instance not found: ‘DataMarshaller@coldbox’
Detail: The instance could not be located in any declared scan location(s) (models) or full path location
Timestamp: 11/25/2019 07:06:05 AM
Event Details:
Event: contacts.index
Route: :handler/
Route Name: N/A
Routed Module: N/A
Routed Namespace: N/A
Routed URL: contacts/
Layout: N/A (Module: )
View: N/A

Hi Ian,

Could you paste your handler’s code?


Also, what is the full stack trace?

Here’s the stack trace.

Here’s the handler code.

Hmm, I don’t’ see any reason why that wouldn’t work. What version of ColdBox do you have installed? Are you running this code on a server that might have other versions of ColdBox running? Are you sure Coldbox didn’t get corrupted when installing it?



Developer Advocate
Ortus Solutions, Corp

ColdBox Platform: