Skip to Content
0

sapui5 failed to load resource library

Jun 09, 2017 at 07:53 PM

164

avatar image

i am try to use smartform in sapui5 but its giving error like
Uncaught Error: failed to load 'sap/ui/layout/form/library.js' from resources/sap/ui/layout/form/library.js: 404 - Resource could not be found

though i can see the library is included in SAPUI5 core libraries

and i am using eclipse luna 4.4 and sapui5 version installed there is 1.44

and i added the sap.ui.layout in my index.html page as well .

please suggest ..thanks in advance

untitled.png (8.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Ragini Payghan Jun 10, 2017 at 09:26 AM
0

Hi Soumyabrata,

I think you have not entered the path of library.js in the file/Controller where you use it.

It is not getting the library although you have entered. please check once.

Share
10 |10000 characters needed characters left characters exceeded
soumyabrata kaity Jun 10, 2017 at 11:16 AM
0

I run in web-app preview @jun

Share
10 |10000 characters needed characters left characters exceeded
soumyabrata kaity Jun 10, 2017 at 11:23 AM
0

i included that library in my index.html file

and i am using a java script view and using the from in 1st_view .view. js file ..........do i need to define the library sap.ui.layout here also ...if yes how to define????


untitled2.png (111.0 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jun Wu Jun 10, 2017 at 12:47 AM
0

how u you run your app?

Share
10 |10000 characters needed characters left characters exceeded
soumyabrata kaity Jun 11, 2017 at 12:42 AM
0

this is my simple code;where i added the library sap.ui.layout.form .

but still i get the error like below please help !!! am i doing something wrong!!!!please help


code.png (106.7 kB)
output.png (123.7 kB)
Share
10 |10000 characters needed characters left characters exceeded
Dennis Seah
Jun 12, 2017 at 05:49 AM
0

you should not have sap.ui.layout.form

you should just sap.ui.layout in data-sap-ui-libs

Thanks

Dennis

Share
10 |10000 characters needed characters left characters exceeded