SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

failed to load sap/ui/m/library.js #732

Closed iSynth closed 8 years ago

iSynth commented 8 years ago

I just try to run interactive control playground from latest SDK on my local web server and get this error:

sap-ui-core-nojQuery.js:52 Uncaught Error: failed to load 'sap/ui/m/library.js' from resources/sap/ui/m/library.js: 404 - Not Found

akudev commented 8 years ago

Hi, can you please give some more details like the path/name of the exact HTML page you are on and where you see the error after doing what? Thanks!

Maybe you are in the "Controls" area and modify one of the examples for e.g. the sap.ui.commons.Button to use a control from the "sap.m" library instead? Well, the libraries you want to use need to be specified first and these control pages are not used for the "sap.m" controls, so you'd e.g. have to add the following line before using a sap.m control:

sap.ui.getCore().loadLibrary("sap.m"); The sap.m controls are instead listed in the "Explored" App (not interactive, though, but you can always use jsbin).

Regards Andreas

iSynth commented 8 years ago

Thanks for reply. I have corrected this but I do not remember how :-) I think that you can close this issue.