[Solved] I don't understand this wirebox error: Ne...
# box-products
d
[Solved] I don't understand this wirebox error: Neither the method process was found in component time.TimeClient nor was there any default method with this name present in any of the implementing interface. Ensure that the method is defined, and that it is spelled correctly. The error occurred on wirebox\system\ioc\Builder.cfc:494.
I guess mapDSL() is not an actual method. I saw it in the examples page, 2nd on the list: https://wirebox.ortusbooks.com/configuration/mapping-dsl/mapping-dsl-examples
I see all other examples use map() so when I use that method I get this error:
Copy code
The FORCE argument passed to the map function is not of type boolean. If the component name is specified as a type of this argument, it is possible that either a definition file for the component cannot be found or is not accessible.
The error occurred on line wirebox\system\ioc\config\Binder.cfc:542
Ok nevermind, I was not using the map() dsl properly. This:
Copy code
map('alias').to('path/to/cfc);
Not this:
Copy code
map('alias','path/to/cfc');