简体   繁体   中英

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 . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' http://localhost:50349 ' is therefore not allowed access. 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://localhost:50349/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM