Skip to Content
0
Aug 04 at 08:29 AM

Check for 'file not found' or parse errors.

62 Views

Hi All,

I an a newbie in SAPUI5, desperately need your guidance.

I have done the manifest config as per below code snippet.

{
	"_version": "1.12.0",
	"sap.app": {
		"id": "sampleCoreElements.sampleCoreElements",
		"type": "application",
		"i18n": "i18n/i18n.properties",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"title": "{{appTitle}}",
		"description": "{{appDescription}}",
		"sourceTemplate": {
			"id": "ui5template.basicSAPUI5ApplicationProject",
			"version": "1.40.12"
		},
		"dataSources": {
			"optionForUsersDataSrc": {
				"uri": "model/data.json",
				"type": "JSON"
			}
		}
	},
	"sap.ui": {
		"technology": "UI5",
		"icons": {
			"icon": "",
			"favIcon": "",
			"phone": "",
			"phone@2": "",
			"tablet": "",
			"tablet@2": ""
		},
		"deviceTypes": {
			"desktop": true,
			"tablet": true,
			"phone": true
		}
	},
	"sap.ui5": {
		"flexEnabled": false,
		"rootView": {
			"viewName": "sampleCoreElements.sampleCoreElements.view.app",
			"type": "XML",
			"id": "app"
		},
		"dependencies": {
			"minUI5Version": "1.65.6",
			"libs": {
				"sap.ui.layout": {},
				"sap.ui.core": {},
				"sap.m": {}
			}
		},
		"contentDensities": {
			"compact": true,
			"cozy": true
		},
		"models": {
			"i18n": {
				"type": "sap.ui.model.resource.ResourceModel",
				"settings": {
					"bundleName": "sampleCoreElements.sampleCoreElements.i18n.i18n"
				}
			},
			"optionForUsers": {
				"type": "sap.ui.model.json.JSONModel",
				"dataSource": "optionForUsersDataSrc"
			}
		},
		"resources": {
			"css": [{
				"uri": "css/style.css"
			}]
		},
		"routing": {
			"config": {
				"routerClass": "sap.m.routing.Router",
				"viewType": "XML",
				"async": true,
				"viewPath": "sampleCoreElements.view",
				"controlAggregation": "pages",
				"controlId": "app"
			},
			"routes": [{
				"name": "home",
				"pattern": "",
				"target": "home"
			}],
			"targets": {
				"home": {
					"viewName": "homePage",
					
					"viewLevel": 1
				}
			}
		}
	}
}

I am getting error as follows:

"Check for 'file not found' or parse errors".

he following error occurred while displaying routing target with name 'home': Error: resource sampleCoreElements/view/homePage.view.xml could not be loaded from resources/sampleCoreElements/view/homePage.view.xml. Check for 'file not found' or parse errors. Reason: -

Could you please suggest on this.

Thanks in advance.

Darshan Panchal.