Hi,
You need to add the MxModelReflection module to your project. - https://appstore.home.mendix.com/link/app/69/
-Andrej
Importing MxModelReflection module resolved most of the errors. I am left with some more errors, for which I am not sure what is the solution.