sap.ui5具有其他属性清单错误。

2020-09-13 08:34发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


 {
     " _version":" 1.2.0",
     " sap.app":{
     " _version":" 1.2.0",
     " id":" pricereview",
     " type":"应用程序",
     " i18n":" i18n/i18n.properties",
     " title":" {{appTitle}}",
     " description":" {{appDescription}}",
     " applicationVersion":{
     " version":" 1.0.0"
     },
     "数据源": {
     " mainService":{
     " uri":"/img/sap/opu/odata/stl/GWP_PRICE_REVIEW_SRV/",
     " type":" OData",
     "设置":{
     " odataVersion":" 2.0",
     " localUri":" localService/metadata.xml",
     "注释":[
     " DetailViewAnnotations"
     ]
     }
     },
     " DetailViewAnnotations":{
     " uri":" ../annotations.xml",
     " type":" ODataAnnotation",
     "设置":{
     " localUri":" ../annotations.xml"
     }
     }
     },
     " sourceTemplate":{
     " id":" sap.ui.ui5-template-plugin.1worklist",
     "版本":" 1.44.6"
     }
     },
     " sap.ui":{
     " _version":" 1.2.0",
     " technology":" UI5",
     "图标":{
     " icon":" sap-icon://task",
     " favIcon":"",
     "电话": "",
     " phone @ 2":"",
     " tablet":"",
     " tablet @ 2":""
     },
     " deviceTypes":{
     "桌面":是的,
     "平板电脑":是的,
     "电话":正确
     },
     " supportedThemes":[
     " sap_hcb",
     " sap_belize"
     ]
     },
     " sap.ui5":{
     " _version":" 1.2.0",
     " rootView":{
     " viewName":" pricereview.view.App",
     " type":" XML",
     " id":" app"
     },
     "依赖关系":{
     " minUI5Version":" 1.36.0",
     " libs":{
     " sap.ui.core":{
     " minVersion":" 1.36.0"
     },
     " sap.m":{
     " minVersion":" 1.36.0"
     },
     " sap.ui.layout":{
     " minVersion":" 1.36.0"
     },
     " sap.ushell":{
     " minVersion":" 1.36.0"
     }
     }
     },
     " contentDensities":{
     "紧凑":是的,
     "舒适":是
     },
     "楷模": {
     " i18n":{
     " type":" sap.ui.model.resource.ResourceModel",
     "设置":{
     " bundleName":" pricereview.i18n.i18n"
     }
     },
     "":{
     " dataSource":" mainService",
     " preload":是
     }
     },
     "服务": {
     " ShellUIService":{
     " factoryName":" sap.ushell.ui5service.ShellUIService",
     "懒惰":错误,
     "设置":{
     " setHierarchy":"自动",
     " setTitle":"自动"
     }
     }
     },
     "路由":{
     " config":{
     " routerClass":" sap.m.routing.Router",
     " viewType":" XML",
     " viewPath":" pricereview.view",
     " controlId":" app",
     " controlAggregation":"页面",
     "绕过":{
     "目标":[
     "未找到"
     ]
     },
     "异步":true
     },
     "路线":[
     {
     " pattern":"",
     " name":"工作清单",
     "目标":[
     "工作清单"
     ]
     },
     {
     " pattern":" EtyPriceReviewCollection/{objectId}",
     " name":"对象",
     "目标":[
     "目的"
     ]
     }
     ],
     "目标":{
     "工作清单":{
     " viewName":"工作清单",
     " viewId":"工作清单",
     " viewLevel":1
     " title":" {i18n> worklistViewTitle}"
     },
     "对象":{
     " viewName":"对象",
     " viewId":"对象",
     " viewLevel":2
     " title":" {i18n> objectViewTitle}"
     },
     " objectNotFound":{
     " viewName":" ObjectNotFound",
     " viewId":" objectNotFound"
     },
     "未找到": {
     " viewName":"未找到",
     " viewId":" notFound"
     }
     }
     }
     }
     }
 

专家,我在manifest.json文件中遇到此错误。 它说" sap.ui5"-具有其他属性",请告诉我这是什么错误。预先感谢

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


 {
     " _version":" 1.2.0",
     " sap.app":{
     " _version":" 1.2.0",
     " id":" pricereview",
     " type":"应用程序",
     " i18n":" i18n/i18n.properties",
     " title":" {{appTitle}}",
     " description":" {{appDescription}}",
     " applicationVersion":{
     " version":" 1.0.0"
     },
     "数据源": {
     " mainService":{
     " uri":"/img/sap/opu/odata/stl/GWP_PRICE_REVIEW_SRV/",
     " type":" OData",
     "设置":{
     " odataVersion":" 2.0",
     " localUri":" localService/metadata.xml",
     "注释":[
     " DetailViewAnnotations"
     ]
     }
     },
     " DetailViewAnnotations":{
     " uri":" ../annotations.xml",
     " type":" ODataAnnotation",
     "设置":{
     " localUri":" ../annotations.xml"
     }
     }
     },
     " sourceTemplate":{
     " id":" sap.ui.ui5-template-plugin.1worklist",
     "版本":" 1.44.6"
     }
     },
     " sap.ui":{
     " _version":" 1.2.0",
     " technology":" UI5",
     "图标":{
     " icon":" sap-icon://task",
     " favIcon":"",
     "电话": "",
     " phone @ 2":"",
     " tablet":"",
     " tablet @ 2":""
     },
     " deviceTypes":{
     "桌面":是的,
     "平板电脑":是的,
     "电话":正确
     },
     " supportedThemes":[
     " sap_hcb",
     " sap_belize"
     ]
     },
     " sap.ui5":{
     " _version":" 1.2.0",
     " rootView":{
     " viewName":" pricereview.view.App",
     " type":" XML",
     " id":" app"
     },
     "依赖关系":{
     " minUI5Version":" 1.36.0",
     " libs":{
     " sap.ui.core":{
     " minVersion":" 1.36.0"
     },
     " sap.m":{
     " minVersion":" 1.36.0"
     },
     " sap.ui.layout":{
     " minVersion":" 1.36.0"
     },
     " sap.ushell":{
     " minVersion":" 1.36.0"
     }
     }
     },
     " contentDensities":{
     "紧凑":是的,
     "舒适":是
     },
     "楷模": {
     " i18n":{
     " type":" sap.ui.model.resource.ResourceModel",
     "设置":{
     " bundleName":" pricereview.i18n.i18n"
     }
     },
     "":{
     " dataSource":" mainService",
     " preload":是
     }
     },
     "服务": {
     " ShellUIService":{
     " factoryName":" sap.ushell.ui5service.ShellUIService",
     "懒惰":错误,
     "设置":{
     " setHierarchy":"自动",
     " setTitle":"自动"
     }
     }
     },
     "路由":{
     " config":{
     " routerClass":" sap.m.routing.Router",
     " viewType":" XML",
     " viewPath":" pricereview.view",
     " controlId":" app",
     " controlAggregation":"页面",
     "绕过":{
     "目标":[
     "未找到"
     ]
     },
     "异步":true
     },
     "路线":[
     {
     " pattern":"",
     " name":"工作清单",
     "目标":[
     "工作清单"
     ]
     },
     {
     " pattern":" EtyPriceReviewCollection/{objectId}",
     " name":"对象",
     "目标":[
     "目的"
     ]
     }
     ],
     "目标":{
     "工作清单":{
     " viewName":"工作清单",
     " viewId":"工作清单",
     " viewLevel":1
     " title":" {i18n> worklistViewTitle}"
     },
     "对象":{
     " viewName":"对象",
     " viewId":"对象",
     " viewLevel":2
     " title":" {i18n> objectViewTitle}"
     },
     " objectNotFound":{
     " viewName":" ObjectNotFound",
     " viewId":" objectNotFound"
     },
     "未找到": {
     " viewName":"未找到",
     " viewId":" notFound"
     }
     }
     }
     }
     }
 

专家,我在manifest.json文件中遇到此错误。 它说" sap.ui5"-具有其他属性",请告诉我这是什么错误。预先感谢

付费偷看设置
发送
8条回答
土豆飞人
1楼-- · 2020-09-13 09:17

您也可以重新创建文件。 有时,此问题会消失。

Climb_Ma
2楼-- · 2020-09-13 09:17

您好,

该问题是由于sap.ui5命名空间下的_version属性引起的。 具体来说

 {
   " sap.ui5":{
     " _version":" 1.2.0",
     " rootView":{
       " viewName":" pricereview.view.App",
       " type":" XML",
       " id":" app"
     },
     "依赖关系":{
       " minUI5Version":" 1.36.0",
       " libs":{
         " sap.ui.core":{
           " minVersion":" 1.36.0"
         },
         " sap.m":{
           " minVersion":" 1.36.0"
         },
         " sap.ui.layout":{
           " minVersion":" 1.36.0"
         },
         " sap.ushell":{
           " minVersion":" 1.36.0"
         }
       }
     },
     " contentDensities":{
       "紧凑":是的,
       "舒适":是
     },
     "楷模": {
       " i18n":{
         " type":" sap.ui.model.resource.ResourceModel",
         "设置":{
           " bundleName":" pricereview.i18n.i18n"
         }
       },
       "":{
         " dataSource":" mainService",
         " preload":是
       }
     },
     "服务": {
       " ShellUIService":{
         " factoryName":" sap.ushell.ui5service.ShellUIService",
         "懒惰":错误,
         "设置":{
           " setHierarchy":"自动",
           " setTitle":"自动"
         }
       }
     },
     "路由":{
       " config":{
         " routerClass":" sap.m.routing.Router",
         " viewType":" XML",
         " viewPath":" pricereview.view",
         " controlId":" app",
         " controlAggregation":"页面",
         "绕过":{
           "目标":[
             "未找到"
           ]
         },
         "异步":true
       },
       "路线":[
         {
           " pattern":"",
           " name":"工作清单",
           "目标":[
             "工作清单"
           ]
         },
         {
           " pattern":" EtyPriceReviewCollection/{objectId}",
           " name":"对象",
           "目标":[
             "目的"
           ]
         }
       ],
       "目标":{
         "工作清单":{
           " viewName":"工作清单",
           " viewId":"工作清单",
           " viewLevel":1
           " title":" {i18n> worklistViewTitle}"
         },
         "对象":{
           " viewName":"对象",
           " viewId":"对象",
           " viewLevel":2
           " title":" {i18n> objectViewTitle}"
         },
         " objectNotFound":{
           " viewName":" ObjectNotFound",
           " viewId":" objectNotFound"
         },
         "未找到": {
           " viewName":"未找到",
           " viewId":" notFound"
         }
       }
     }
   }
 }

 

版本应该在最初的问题之外。 但是sap.ui5中的版本是错误的。 删除该属性,它应该可以解决问题。

感谢和问候,

Veera

一周热门 更多>

点击此处---> EasySAP.com 一起学习S4 HANA ...

相关问答