SAP UI5 clone 到 WebIDE后,加载 sap-ui-core.js 后出现 404 Not found 错误的原因
Created by Jerry Wang, last modified on Mar 03, 2015
After you have cloned one project from github to Webide as below:
When you launch the project you will meet with the error message below:
There is a 404 not found error:
Compared to a normal project which is created via WebIDE itself, it is easy to figure out that a file is missing:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-810rh7ub-1616911809509)(https://user-images.githubusercontent.com/5669954/27469392-9a31068a-57ef-11e7-95f1-264446b562fc.png)]
This neo-app.json is necessary for WebIDE to launch the ui5 application, and it will be automatically created by WebIDE if you create a new project there - normally we do not need to change it manually. However, if you clone a ui5 project which is not created by WebIDE ( for example created by Eclipse ), then you have to add this neo-app.json manually.
For entryPath you can just keep its default value, and the mapping for it could be customized, as displayed in the example below:
Then in your index.html you have to use the customized path accordingly:
And in the runtime it works as designed:
相关文章
- 48. 如何在 SAP UI5 应用里开发条形码扫描功能
- SAP UI5 应用的标准 Theme 和自定义 Theme 的加载讨论
- UI Startup analysis - sap.ui.core.Core what js files are loaded
- when is this.oModel in sap-ui-core.js initialized for navigation working
- how is SAP UI5 component.js called in the beginning
- SAP UI5 fullScreenPageRoutes in Component.js
- SAP UI5框架 component.js的加载原理
- SAP CRM WebClient UI的内存清理策略分析
- 如何找出 SAP电商云产品明细页面读取后台数据的代码具体位置
- SAP Spartacus split view里每个元素宽度的计算方式
- 使用SAP C4C自定义BO association创建动态下拉列表
- 查看SAP CRM和C4C的UI technical信息
- SAP CRM WebClient UI Selenium自动化UI测试的一些调试步骤
- Node.js 应用部署到 SAP 云平台上访问时出现 502 Bad Gateway 错误分析
- SAP UI5 应用开发教程之四十 - 如何制作包含了 component-preload.js 在内的 SAP UI5 发布版本
- SAP UI5 clone 到 WebIDE后,加载 sap-ui-core.js 后出现 404 Not found 错误的原因
- 使用Eclipse本地运行SAP UI5时, UI5库文件的js文件是从本地哪里加载的
- 启用SAP Fiori之前的一些注意事项
- SAP UI5自学教程一:button.js的加载逻辑
- [SAP成都] SAP UI5应用的sap-ui-core.js被加载之前,还有哪些js文件被加载了
- 容器,Docker, Kubernetes和Kyma,以及Kyma对SAP的意义
- windows 环境下使用 Node.js 访问 SAP OData 遇到 unable to get local issuer certificate
- SAP OData 框架处理 Metadata 元数据请求的实现细节,前后端组件部署在同一台物理服务器试读版
- 17. 如何通过 SAP ABAP OData $expand 操作在同一个 HTTP 请求中返回多个节点的数据