专栏首页Jerry的SAP技术分享如何处理WebIDE里运行UI5应用遇到的404 not found错误

如何处理WebIDE里运行UI5应用遇到的404 not found错误

how to resolve 404 not found error for sap-ui-core.js after project is cloned to WebIDE After you have cloned one project from github to webide as below:

When you launch the project you will meet with the error message. 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:

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:

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • webIDE里创建extension project时遇到错误的解决方案

    Suppose you try to create a new extension project based on one existing project:

    Jerry Wang
  • 如何查找UI5框架的BSP应用名称

    版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://jerry.bl...

    Jerry Wang
  • 关于OData modifying请求需要事先提供CSRF token 的讨论

    I have made some search in the internet and it seems the CSRF token mechanism is...

    Jerry Wang
  • webIDE里创建extension project时遇到错误的解决方案

    Suppose you try to create a new extension project based on one existing project:

    Jerry Wang
  • Python Tips, Tricks, and Hacks

    一、快速技巧 1.1、4 种引号 '  '''  "  """  print """I wish that I'd never heard him say...

    用户1177713
  • [Repost]The care and maintenance of your adviser

    Published online  26 January 2011This article was originally published in the jo...

    昊楠Hacking
  • Codeforces Round #415 (Div. 2)(A,暴力,B,贪心,排序)

    A. Straight «A» time limit per test:1 second memory limit per test:256 megabytes...

    Angel_Kitty
  • Simulate a Windows Service using ASP.NET to run scheduled jobs

    Introduction How to run scheduled jobs from ASP.NET without requiring a Windows ...

    阿新
  • Control is important! model predictive control mpc.pytorch lib

    Optimal control is a widespread field that involve finding an optimal sequence o...

    用户1908973
  • What's the problem about Python packaging?

    I have been using Python as my primary programming language for 4 years. It is e...

    岂不美哉Frost

扫码关注云+社区

领取腾讯云代金券