Skip to Content
avatar image
Former Member

sapui5 failed to load resource library

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jun 10, 2017 at 09:26 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 10, 2017 at 11:16 AM

    I run in web-app preview @jun

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 10, 2017 at 11:23 AM

    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????

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 10, 2017 at 12:47 AM

    how u you run your app?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 11, 2017 at 12:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 12, 2017 at 05:49 AM

    you should not have sap.ui.layout.form

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

    Thanks

    Dennis

    Add comment
    10|10000 characters needed characters exceeded