Using Railo 3.3.1. Factory.cfc is erroring out on line 41:
<cfset this.beans[local.beanName] = createObject("component", "resources." & local.beanName) />
The error says it cannot find the resource...
When I output the arguments.beanPath, it gave me the correct path to the resources:
Yes, it had 2 forward slashes before the folder resources, so I modified api.cfc to give me the correct path:
Still the resources weren't being found, so I dumped what cfdirectory was finding on line 36 of factory.cfc and it finds both of my cfcs, CustomRepresentationClass.cfc and pingCollection.cfc.
Trying to understand how the method loadBeansFromPath can instantiate (locate) my resources in the following line? Should arguments.beanPath be used?
<cfset this.beans[local.beanName] = createObject("component", "resources." & local.beanName) />
Would appreciate any suggestions! Thank you!