简体   繁体   English

SAPUI5 中的 Access-Control-Allow-Origin' 标头错误

[英]Access-Control-Allow-Origin' header error in SAPUI5

Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:27 sap-ui-core.js:27 XMLHttpRequest cannot load https://openui5.hana.ondemand.com/resources/sap/m/BulletChart.js .加载资源失败:服务器响应状态为 404 (Not Found)send @ sap-ui-core.js:27 sap-ui-core.js:27 XMLHttpRequest 无法加载https://openui5.hana.ondemand。 com/resources/sap/m/BulletChart.js No 'Access-Control-Allow-Origin' header is present on the requested resource.请求的资源上不存在“Access-Control-Allow-Origin”标头。 Origin ' http://localhost:50349 ' is therefore not allowed access.因此,不允许访问 Origin ' http://localhost:50349 '。 The response had HTTP status code 404.send @ sap-ui-core.js:27 sap-ui-core.js:144 Uncaught Error: failed to load 'sap/m/BulletChart.js' from https://openui5.hana.ondemand.com/resources/sap/m/BulletChart.js : 0 - NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load ' https://openui5.hana.ondemand.com/resources/sap/m/BulletChart.js '.响应的 HTTP 状态代码为 404.send @ sap-ui-core.js:27 sap-ui-core.js:144 Uncaught Error: failed to load 'sap/m/BulletChart.js' from https://openui5。 hana.ondemand.com/resources/sap/m/BulletChart.js : 0 - NetworkError : 无法在 'XMLHttpRequest' 上执行 'send': 无法加载 ' https://openui5.hana.ondemand.com/resources/sap /m/BulletChart.js '。 http://localhost:50349/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:50349/favicon.ico加载资源失败:服务器响应状态为 404(未找到)

It seems like your didnt add the resource that you are trying to load in the correct path.您似乎没有在正确的路径中添加您尝试加载的资源。 Please check your naming and file path and make sure its correct.请检查您的命名和文件路径并确保其正确。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何检查是否没有“ Access-Control-Allow-Origin”标头错误 - How to check for No 'Access-Control-Allow-Origin' header error Google翻译时出现XMLHttpRequest错误(没有'Access-Control-Allow-Origin'标题) - XMLHttpRequest error with Google translate (No 'Access-Control-Allow-Origin' header) Zillow API错误:“不存在“ Access-Control-Allow-Origin”标头” - Zillow API Error:“No 'Access-Control-Allow-Origin' header is present” 错误在请求的资源上没有“ Access-Control-Allow-Origin”标头 - Error No 'Access-Control-Allow-Origin' header is present on the requested resource AJAX请求中没有“ Access-Control-Allow-Origin”标头存在错误 - No 'Access-Control-Allow-Origin' header is present error in AJAX Request jQuery.getJSON()上没有'Access-Control-Allow-Origin'标头错误 - No 'Access-Control-Allow-Origin' header Error on jQuery.getJSON() “没有'Access-Control-Allow-Origin'标题存在”与Cherrypy错误 - “no 'Access-Control-Allow-Origin' header is present” error with Cherrypy 在某些情况下没有“ Access-Control-Allow-Origin”标头错误,但在其他情况下则没有 - No 'Access-Control-Allow-Origin' header error in some cases, but not in others No 'Access-Control-Allow-Origin' header is present on the requested resource error - No 'Access-Control-Allow-Origin' header is present on the requested resource error CORS header 'Access-Control-Allow-Origin' 缺失错误 - CORS header ‘Access-Control-Allow-Origin’ missing error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM