Can not inject Service

Hello All
I have create testService.cfc in services folder,and in handlers folder i want inject testService:
here my code:
property name="testService inject=“testService”;

But i not work:
Type: Builder.DSLDependencyNotFoundException
Messages: The DSL Definition {REF={null}, REQUIRED={true}, ARGNAME={}, DSL={id:testService}, JAVACAST={null}, NAME={testService}, TYPE={any}, VALUE={null}, SCOPE={variables}} did not produce any resulting dependency The target requesting the dependency is: ‘handlers.test’

pls Help me.

Thank.

Hi Khac

Please read wirebox docs

Coldbox 3.8
http://wiki.coldbox.org/wiki/WireBox.cfm

Coldbox 4
http://wirebox.ortusbooks.com/content/

Please show us where the “services” folder is. If it’s
/models/services/testService.cfc
then you can do this:
property name="testService inject=“services.testService”;

If it’s in
/services/testService.cfc
then I would recommend you move it to the models convention folder. Or, if it you want it there, add a scan location or an explicit mapping to WireBox.

Thanks!

~Brad