如何处理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:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- iOS应用发布ITMS-90704错误解决
- maven镜像仓库pom文件错误导致无法下载依赖 启动应用报错ClassNotFoundException
- 【已解决】使用SLF4J时的一个错误Failed to load class org.slf4j.impl.StaticLoggerBinder
- 关于服务器端渲染的 Web 应用的 504 错误问题
- 【Android应用开发】Android Studio 错误集锦 -- 将所有的 AS 错误集合到本文
- 【错误记录】Android 应用连接 BLE 设备无法读取数据 ( 可以写出数据 | 无法读取数据 )
- 【错误记录】Android 应用安装报错 ( The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER )
- 【错误记录】Flutter 构建报错 ( Because xxx requires SDK version >=2.12.0-0 <3.0.0, versio | Dart SDK 版本低 )
- 【错误记录】p7zip 交叉编译 Android 版本 NDK 报错 ( Application.mk | APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 )
- 【错误记录】Android 编译时技术版本警告 ( 注解处理器与主应用支持的 Java 版本不匹配 )
- 【错误记录】Android 应用执行报错 ( java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[ )
- 【错误记录】Android 应用安全检测漏洞修复 ( StrandHogg 漏洞 | 设置 Activity 组件 android:taskAffinity=““ )
- 【错误记录】手机应用无法联网 ( 添加 READ_PRIVILEGED_PHONE_STATE 权限导致手机应用网络不可用 )
- 剪贴板被占用导致应用使用剪贴板拷贝内容失败抛出 COMException 0x800401D0 错误
- 香港服务器IIS 8.5设置404错误页教程
- 苹果 App Store 错误推广了诈骗应用:超 10 美元/周订阅费,但无任何用处
- 如何解决MSSQL数据库错误?(mssql错误)
- 解决MSSQL错误:一步一步排查症结(mssql错误要怎么办)
- MSSQL视图语句出错:怎么办?(mssql视图语句错误)
- MySQL中的1336错误原因与解决方案(mysql中1336错误)
- 解决MySQL中10061错误问题(mysql中10061)
- MySQL视图第1349号错误解决方法
- IIS修复IIS出现错误后完全重装的方法