Skip to Content
1

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

Jan 25, 2017 at 10:15 AM

1k

avatar image
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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Antonette Venter Jan 25, 2017 at 10:51 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Antonette, thanks for the reply.

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

0
VIPLOVE KHUSHALANI Jan 25, 2017 at 11:57 AM
0

Hi Roberto,

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

thanks

Viplove

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member
{
	"_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"
	}
}

0

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" } }

0
Titus Thomas Apr 27, 2017 at 10:10 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Sep 11, 2017 at 07:31 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded