I’m having some issues that may or may not be directly related to ColdBox, but I would appreciate any advice or assistance anyone could offer!
When migrating an application from my working local dev environment to the production server I am encountering errors with ORM that prevent the application from loading.
We’re on CF9 (not 9.0.1) on both my local dev and production environment.
When initializing the application, if I set ormenabled to false, everything else loads.
There are basically two separate errors:
“Could not find the ColdFusion component or interface” for ORM entities e.g.,. I attempted to rectify this by modifying every relationship used in the relationships to have complete paths defined even though they shouldn’t be necessary for CFCs in the same folder.
Here’s an example of the changes that were tried for every
property name=“schedule” cfc=“Schedule” fieldtype=“one-to-one”
fetch=“join” remotingfetch=“true” fkcolumn=“scheduleID”;
was changed to:
property name=“schedule” cfc=“model.commute.Schedule” fieldtype=“one-
to-one” fetch=“join” remotingfetch=“true” fkcolumn=“scheduleID”;
As I made these changes, the aforementioned error would have a different component indicated until eventually, when this change was made across the board, I finally end up with this
“Association references unmapped class”
This error doesn’t indicate any particular cfc or relationship.
I have checked my application mappings, database connectivity, permissions, etc.
All without any luck…
Anyone have any suggestions?
Thanks in advance,