on 2020 Apr 03 8:55 AM
Hi,
I am following Create fiori app and stuck at step-2. I have created the app and wile running the app, i am getting error in the console saying as below: Can you please suggest how to correct this.
Error: resource ocn/thirdpartydemo/view/App.view.xml could not be loaded from ./view/App.view.xml. Check for 'file not found' or parse errors.
Reason: Error: Invalid XML: <mvc:View controllerName="ocn.thirdpartydemo.controller.App" xmlns:mvc="sap.ui.core.mvc" displayBlock="true" xmlns="sap.m">
LoaderExtensions-dbg.js:309 Uncaught (in promise) Error: resource ocn/thirdpartydemo/view/App.view.xml could not be loaded from ./view/App.view.xml. Check for 'file not found' or parse errors.
Reason: Error: Invalid XML: <mvc:View controllerName="ocn.thirdpartydemo.controller.App" xmlns:mvc="sap.ui.core.mvc" displayBlock="true" xmlns="sap.m">
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Looks like something is wrong in the xml of the view. Try validating the xml of the app view in an xml parser online. If the xml is fine, then you might have a typo somewhere for the namespace.
Kr, Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
64 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.