Skip to Content
0
May 19, 2016 at 02:21 PM

Error On SAP WEB IDE Trial Account

554 Views

Hello every one am kind of new to SAP UI5... Am trying to fire up a simple FIORI apps using the trial box provided by SAP and am getting an error. I will attach a screen shot. I first thought it was from my ODATA setup, until i tried building a local app without using ODATA, used a test data and am still getting an error.

After a further query(F12) in the browser, I got the Error.

https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap-ui-core.js Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71

  1. datajs.js:17 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead.

2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap-ui-core.js Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71sap-ui-core.js:88 2016-05-11 09:42:12.216294 registerResourcePath ('salesorg01/com', '../') - sap.ui.ModuleSystem2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap-ui-core.js Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71sap-ui-core.js:88 2016-05-11 09:42:12.721084 registerResourcePath ('salesorg01/com', '../') - sap.ui.ModuleSystem2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap-ui-core.js Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/here/goes/your/serviceurl/$metadata?sap-documentation=heading Failed to load resource: the server responded with a status of 404 (Not Found).


Also here is my code for the Index.html

<!DOCTYPE html>

<html>

<head>

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Products</title>

<!-- Bootstrapping UI5 -->

<script id="sap-ui-bootstrap"

src="resources/sap-ui-core.js"

data-sap-ui-libs="sap.m"

data-sap-ui-theme="sap_bluecrystal"

data-sap-ui-compatVersion="edge"

data-sap-ui-resourceroots='{"products.com": "./"}'

data-sap-ui-frameOptions="trusted">

</script>

<script>

sap.ui.getCore().attachInit(function () {

sap.ui.require([

"sap/m/Shell",

"sap/ui/core/ComponentContainer"

], function (Shell, ComponentContainer) {

// initialize the UI component

new Shell({

app: new ComponentContainer({

height : "100%",

name : "products.com"

})

}).placeAt("content");

});

});

</script>

</head>

<!-- UI Content -->

<body class="sapUiBody" id="content">

</body>

</html>

Attachments