So here’s what I was looking at and how I fixed it step, by step… but still have a question…
Error Occurred While Processing Request
Could not find the ColdFusion component or interface coldbox.system.web.services.BaseService.
Ensure that the name is correct and that the component or interface exists.
The error occurred in C:/ColdFusion2016/cfusion/wwwroot/scorecard01/coldbox/system/web/Controller.cfc: line 88
Called from C:/ColdFusion2016/cfusion/wwwroot/scorecard01/coldbox/system/Bootstrap.cfc: line 69
Called from C:/ColdFusion2016/cfusion/wwwroot/scorecard01/Application.cfc: line 29
86 : 87 : // LogBox Default Configuration & Creation **88 : services.loaderService = new coldbox.system.web.services.LoaderService( this );** 89 : variables.logBox = services.loaderService.createDefaultLogBox(); 90 : variables.log = variables.logBox.getLogger( this );
I have “ColdFusion 2016 Update 1” installed using the developer edition and the included webserver
the default CF root directory for the included webserver is C:\ColdFusion2016\cfusion\wwwroot
created a subdirectory for the cold box application, let’s call it “myApp” i.e. “C:\ColdFusion2016\cfusion\wwwroot\myApp”
downloaded commandbox and ran it with some “help” commands to make sure it was working.
within commandbox changed directory to C:\ColdFusion2016\cfusion\wwwroot\myApp
ran the command: “coldbox create app myApp --installColdBox”
opened a browser to “http://localhost:8500/myApp” and got the error above.
in looking over the previous posts it seems that i needed to create a CF Admin Mapping as follows
Logical Path: /coldbox
Directory Path: C:\ColdFusion2016\cfusion\wwwroot\myApp\coldbox
stopped/started CF service
now i guess my only problem is that i can only have one mapping to /coldbox in the CF Admin so if i have multiple apps i would have to keep changing mappings… I saw something about changing a setting in the C:\ColdFusion2016\cfusion\wwwroot\myApp\application.cfc file. if so, is there a pointer to that approach?