I’m trying to update Wirebox to version 7.2 (from 6.9).
I load wirebox like so:
var wirebox = new wirebox.system.ioc.Injector("config.WireboxService");
But I get this error:
Lucee 5.4.2.17 Error (expression)
Message invalid component definition, can’t find component [wirebox.system.ioc.Builder]
Stacktrace The Error Occurred in
[PATH]\wirebox\system\ioc\Injector.cfc: line 366
364:
365: // Create our object builder
366: variables.objectBuilder = new wirebox.system.ioc.Builder( this );
Really the Builder.cfc file no (longer) exists in that directory.
I can’t figure out what I’m doing wrong
Any help?
lmajano
February 7, 2024, 12:27pm
2
Hi @Roberto_Marzialetti I think this bug was reported already and fixed. Let me try and reproduce to see if the issue still remains or not.
lmajano
February 7, 2024, 12:29pm
3
Ok, the patch 7.2.1 is the one that contains the fix. So if you are on 7.2.0 that contains the issue. Please update your installation : box update wirebox
1 Like
Hi Luis!
Thanks for your reply!
I got the question.
I have yet another question.
I’m using Coldbox and Wirebox by installing two packages separately.
But, from what I understand, Coldbox already includes a Wirebox version.
It appears to be initializable by:
coldbox.system.ioc.Injector()
Correct?
Thanks a lot, as usual.
Yes. ColdBox includes Cache box, LogBox and WireBox
1 Like