[英]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.