I’m trying to use AOP in my app for the first time. I’ve never used any explicit wirebox configurations before now. I just added the binder config to my coldbox.cfc wirebox section, then added the listener and mapAspect. My Aspect doesn’t do anything currently at all. I added some debugging output to prove that it’s being instantiated/initialized, but that’s about it.
The problem I’m encountering is that I’m getting an error with other injections. The first error is around injecting a module config using inject=“coldbox:setting:mySetting@myModule”, I tried removing those injections and other injections fail.
This is the error I get:
The setting modulePath@vtmo-shorturl does not exist.
Here’s a gist of the relevant files https://gist.github.com/453fb7bbf3a91fde31fd
Help please!!!
What am I doing wrong?