-
How are you injecting your ocm dependency? i.e. Property annotations, WireBox config mappings, manually retrieving it from WireBox on init?
-
Where in your component are you trying to use it. i.e. init() is called before DI is complete so you can’t use dependencies there. That’s what onDIComplete() is for.
Also, what version of ColdBox are you on and what is your DI engine? (legacy Bean factory, WireBox, ColdSpring, LightWire, etc)
Thanks!
~Brad