Change your script source URL to your gateway, and try again.
And don't forget to activate your related SICF services.
http://<your gatewaysever>:<your gatewaysever port>/sap/public/bc/ui5_ui5/ui2/ushell/resources/sap-ui-core.js
Change your script source URL to your gateway, and try again.
And don't forget to activate your related SICF services.
http://<your gatewaysever>:<your gatewaysever port>/sap/public/bc/ui5_ui5/ui2/ushell/resources/sap-ui-core.js