The SAP UI5 documentation already specifies that this shouldn't be done. You're trying to load the resource asynchronously, but you're accessing it synchronously!! See https://sapui5.hana.ondemand.com/#/api/sap.ui (see method sap.ui.define)
Thanks and best regards,
Shilpa
I guess your problem is not with your base controller, but with your resource roots. You have mentioned return Controller.extend("mapping.controllers.BaseController", but in the error, it is looking for the location in mapping/mapping/controller/baseController.js.
I suggest, you verify the resource roots in all your files, begining from your index.html
Add comment