cancel
Showing results for 
Search instead for 
Did you mean: 

Error in application dependency 'sap.m': 'No descriptor was found'

Former Member

Hello, deploying my application on Fiori launchpad I found the following errors:

Error in application dependency 'sap.ui.core': 'No descriptor was found'
Error in application dependency 'sap.m': 'No descriptor was found'
Error in application dependency 'sap.ui.layout': 'No descriptor was found'

In the manifest.json file, I declared the following dependencies:

"dependencies": {
			"minUI5Version": "1.34.0",
			"libs": {
				"sap.ui.core": {
					"minVersion": "1.34.0"
				},
				"sap.m": {
					"minVersion": "1.34.0"
				},
				"sap.ui.layout": {
					"minVersion": "1.34.0"
				}
			}
		},

Could someone help me?

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

RaminS
Participant
0 Kudos

This issue is caused when your namespace ID, as specified in manifest.json is different from the ID attribute of your tile in launchpad configuration.

I resolved my issue by making sure the "id" attribute in the manifest.json matches the ID of the tile configured in Launchpad:

manifest.json:

This should be the same as the tile definition in launchpad.

xiongjun_li
Explorer
0 Kudos

we are facing the same issues. Any solution on this?

Former Member
0 Kudos

Even I am facing the same issue. Any help is much appreciated.

former_member340030
Contributor
0 Kudos

Hi Roberto,

Can you just show your whole manifest , might be you are missing other config.

thanks

Viplove

Former Member
0 Kudos
{
	"_version": "1.3.0",
	"sap.app": {
		"_version": "1.3.0",
		"id": "com.roberto",
		"type": "application",
		"i18n": "i18n/i18n.properties",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"title": "{{appTitle}}",
		"description": "{{appDescription}}",
		"sourceTemplate": {
			"id": "ui5template.basicSAPUI5ApplicationProject",
			"version": "1.38.11"
		}
	},
	"sap.ui": {
		"_version": "1.3.0",
		"technology": "UI5",
		"deviceTypes": {
			"desktop": true,
			"tablet": true,
			"phone": true
		},
		"supportedThemes": [
			"sap_bluecrystal"
		]
	},
	"sap.ui5": {
		"_version": "1.2.0",
		"rootView": {
			"viewName": "com.roberto.view.CollectionBoard",
			"type": "XML"
		},
		"dependencies": {
			"minUI5Version": "1.34.0",
			"libs": {
				"sap.ui.core": {},
				"sap.m": {},
				"sap.ui.layout": {}
			}
		},
		"contentDensities": {
			"compact": false,
			"cozy": true
		},
		"models": {
			"i18n": {
				"type": "sap.ui.model.resource.ResourceModel",
				"settings": {
					"bundleName": "com.roberto.i18n.i18n"
				}
			},
			"CollectionTree": {
				"type": "sap.ui.model.json.JSONModel",
				"uri": "model/prdt_collections_tree.json"
			}
		},
		"resources": {
			"css": [
				{
					"uri": "css/custom.css"
				}
			]
		},
		"routing": {
			"config": {
				"routerClass": "sap.m.routing.Router",
				"viewType": "XML",
				"viewPath": "com.roberto.view",
				"controlId": "collboard",
				"controlAggregation": "pages",
				"bypassed": {
					"target": "notFound"
				}
			},
			"routes": [
				{
					"pattern": "",
					"name": "collections",
					"target": "TargetCollections"
				},
				{
					"pattern": "detail/{collectionPath}",
					"name": "RouteDetails",
					"target": "TargetDetails"
				},
				{
					"pattern": "AddCollection",
					"name": "RouteAdd",
					"target": "TargetAdd"
				}
			],
			"targets": {
				"TargetCollections": {
					"viewName": "CollectionBoard",
					"viewType": "XML",
					"viewLevel": 1
				},
				"TargetDetails": {
					"viewName": "CollectionDetails",
					"viewType": "XML",
					"viewLevel": 2
				},
				"TargetAdd": {
					"viewName": "AddCollection",
					"viewType": "XML",
					"viewLevel": 2
				},
				"notFound": {
					"viewName": "NotFound",
					"transition": "show"
				}
			}
		}
	},
	"sap.platform.hcp": {
		"uri": "webapp",
		"_version": "1.1.0"
	}
}

former_member340030
Contributor
0 Kudos

Can you just compare your manifest with this ... this is a working manifest ..

{ "_version": "1.4.0", "sap.app": { "id": "masterdetail", "type": "application", "i18n": "i18n/i18n.properties", "title": "{{appTitle}}", "description": "{{appDescription}}", "applicationVersion": { "version": "1.0.0" }, "dataSources": { "mainService": { "uri": "/northwind/V3/northwind/northwind.svc/", "type": "OData", "settings": { "odataVersion": "2.0", "localUri": "localService/metadata.xml" } } }, "sourceTemplate": { "id": "sap.ui.ui5-template-plugin.2masterdetail", "version": "1.38.13" } }, "sap.ui": { "technology": "UI5", "icons": { "icon": "sap-icon://detail-view", "favIcon": "", "phone": "", "phone@2": "", "tablet": "", "tablet@2": "" }, "deviceTypes": { "desktop": true, "tablet": true, "phone": true }, "supportedThemes": [ "sap_hcb", "sap_bluecrystal" ] }, "sap.ui5": { "rootView": { "viewName": "masterdetail.view.App", "type": "XML", "id": "app" }, "dependencies": { "minUI5Version": "1.38.0", "libs": { "sap.ui.core": { "minVersion": "1.38.0" }, "sap.m": { "minVersion": "1.38.0" } } }, "contentDensities": { "compact": true, "cozy": true }, "models": { "i18n": { "type": "sap.ui.model.resource.ResourceModel", "settings": { "bundleName": "masterdetail.i18n.i18n" } }, "": { "dataSource": "mainService", "preload": true } }, "routing": { "config": { "routerClass": "sap.m.routing.Router", "viewType": "XML", "viewPath": "masterdetail.view", "controlId": "idAppControl", "controlAggregation": "detailPages", "bypassed": { "target": [ "master", "notFound" ] }, "async": true }, "routes": [ { "pattern": "", "name": "master", "target": [ "object", "master" ] }, { "pattern": "Customers/{objectId}", "name": "object", "target": [ "master", "object" ] } ], "targets": { "master": { "viewName": "Master", "viewLevel": 1, "viewId": "master", "controlAggregation": "masterPages" }, "object": { "viewName": "Detail", "viewId": "detail", "viewLevel": 2 }, "detailObjectNotFound": { "viewName": "DetailObjectNotFound", "viewId": "detailObjectNotFound" }, "detailNoObjectsAvailable": { "viewName": "DetailNoObjectsAvailable", "viewId": "detailNoObjectsAvailable" }, "notFound": { "viewName": "NotFound", "viewId": "notFound" } } } }, "sap.platform.hcp": { "uri": "webapp", "_version": "1.1.0" } }

antonette_oberholster
Active Contributor
0 Kudos

Hello Roberto

Is the minVersion necessary? What happens if you leave it out like this:

"dependencies": {

"minUI5Version": "1.34.0",

"libs": {

"sap.ui.core": { },

"sap.m": { },

"sap.ui.layout": { }

}

},

Hope this helps

Antonette

Former Member
0 Kudos

Hi Antonette, thanks for the reply.

No, it's not necessary, but if I delete the minVersion parameter the error still appears.