Hi Andrew,
In addition, can you check if the objects definition files are included in the build?
in classic CW

in CW eclipse

if the problem still can not be solved, can you please upload your project here?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------