Ibm mobilefirst IBM MobileFirst JSONStore未在7.1 CLI项目中初始化

Ibm mobilefirst IBM MobileFirst JSONStore未在7.1 CLI项目中初始化,ibm-mobilefirst,jsonstore,mobilefirst-cli,Ibm Mobilefirst,Jsonstore,Mobilefirst Cli,在尝试初始化IBM MobileFirst 7.1 CLI项目中使用 cordova插件mfp jsonstore,我收到了这个错误 Uncaught Error: Failed to call WL.JSONStore.init because JSONStore is missing in the application. Add JSONStore to the application descriptor, rebuild and deploy it. at Object.init

在尝试初始化IBM MobileFirst 7.1 CLI项目中使用 cordova插件mfp jsonstore,我收到了这个错误

Uncaught Error: Failed to call WL.JSONStore.init because JSONStore is 
missing in the application. Add JSONStore to the application descriptor, 
rebuild and deploy it.
at Object.init (worklight.js:11414)
at JSONStoreHelper.initCollection (jsonstore-helper.js:30)
at JWTokenManager.initializeTokenStore (jwtoken-manager.js:26)
at wlCommonInit (index.js:20)
at Object.wlInit [as onSuccess] (worklight.js:8136)
at finalizeInit (worklight.js:7418)
at __WLClient.init (worklight.js:8471)
at HTMLScriptElement.mfpready (bootstrap.js:45)

MobileFirst CLI版本为
7.1.0.00.20170421-0734
。有人面对过同样的问题吗?谢谢。

尽管在applicationdescriptor.xml中添加了“”,但问题并未得到解决。请确定,您是否可以从CLI本身尝试,而不是直接添加到application-descriptor.xml?像这样:mfp添加特性jsonstore@VivinK现在尝试使用mfp添加功能命令。获取错误:无法添加MobileFirst功能。错误:您必须在混合应用程序中才能执行此命令。我正在处理一个使用“mfp cordova create”命令创建的项目。您应该在创建的cordova项目中添加它。