IBM MobileFirst 项目迁移 6.2.0.1 到 7.0
Posted
技术标签:
【中文标题】IBM MobileFirst 项目迁移 6.2.0.1 到 7.0【英文标题】:IBM MobileFirst project migration 6.2.0.1 to 7.0 【发布时间】:2015-03-31 20:58:31 【问题描述】:将 6.2.0.1 项目迁移到 7.0 时,显示以下错误并且项目保持关闭:
Starting to migrate the <project_name> project from version 6.2.0.01.20141027-1531 to version 7.0.0.00.20150312-0731
Unexpected error during upgrade: java.lang.Error: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers
(No such file or directory) at com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:326) at com.worklight.upgrader.WLUpgradeEngine.upgradeProject(WLUpgradeEngine.java:188)
at com.worklight.studio.plugin.upgrader.WLUpgraderWorkspaceJob.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers
(No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146)
at com.worklight.upgrader.internal.Zipper.addFileContentToZip(Zipper.java:145) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:205)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:106)
at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:91) at com.worklight.upgrader.WLUpgradeEngine.backupCurrentProject(WLUpgradeEngine.java:645)
at com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:294) ... 4 more
[2015-03-31 10:31:58] java.lang.Error: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers (No such file or directory)
有人知道可能的原因和解决方案吗?
【问题讨论】:
【参考方案1】:这看起来像一个外部文件夹,而不是项目的一部分。 能不能一步一步的计划一下重现和调试错误?
解决方案可能是将 ExternalLibrary/iBeacon 文件夹放在项目之外,将项目导入 MFP 7.0 Studio,然后将提到的文件夹放回其中,看看它是否有效。
我怀疑不熟悉的文件夹会使升级者感到困惑。
【讨论】:
谢谢伊丹。删除文件夹修复了它(以及来自外部库的其他几个)。项目已迁移,我已将文件夹移回。现在只需要进行一些测试以确认一切正常,但不明白为什么会有任何问题。谢谢以上是关于IBM MobileFirst 项目迁移 6.2.0.1 到 7.0的主要内容,如果未能解决你的问题,请参考以下文章
从 WL6.3 迁移后,Android 中的 IBM MobileFirst 7.1 服务器连接失败
IBM Mobilefirst Pugin 不支持 Cordova 版本 >7
如何在 android studio 中为 IBM MobileFirst 项目导入外部库项目?