Skip to Content
avatar image
Former Member

TypeError: sap.ui.app is undefined

Hello Community,

based on the blog post Developing a simple List based SAPUI5 Application I am trying to create an SAP UI 5 application. But I am facing the below error and the application fails to load.

Can anybody help me with this Error?

Thanks!

pastedImage_0.png (18.7 kB)
pastedImage_1.png (33.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 08, 2015 at 12:19 PM

    Can you post the contents of your index.html file?

    According to the API docs, the containing classes are all deprecated...

    Also check the bootstrapper's "data-sap-ui-libs" property in your index.html, if it contains something like "sap.ui.app" then remove that library from the property

    Add comment
    10|10000 characters needed characters exceeded