出现场景如下图所示,笔者在发布业务单元之后出现了如下错误
在检验对象看到的全路径是我的一个后台事务文件报错详细报错如下:com.kingdee.bos.engine.MDNotFoundException: 被引用的元数据[pk=, type=bize]没有找到。
detailMessage is : 整个元数据解决方案中没有元数据[.exception]对应的资源
at com.kingdee.bos.engine.impl.MDParser2.getDocumentRef(MDParser2.java:345)
at com.kingdee.bos.engine.impl.MDParser2.processCollection(MDParser2.java:281)
at com.kingdee.bos.engine.impl.MDParser2.parse0(MDParser2.java:178)
at com.kingdee.bos.engine.impl.MDParser2.processCollection(MDParser2.java:271)
at com.kingdee.bos.engine.impl.MDParser2.parse0(MDParser2.java:178)
at com.kingdee.bos.engine.impl.MDParser2.parseMDFromDOM(MDParser2.java:82)
at com.kingdee.bos.engine.impl.Loader2.loadMetadata(Loader2.java:733)
at com.kingdee.bos.md.dao.MDORMUtil.load(MDORMUtil.java:61)
at com.kingdee.bos.md.multipageeditor.BaseMDSourceEditor.init(BaseMDSourceEditor.java:209)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:799)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:643)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:434)
at com.kingdee.bos.tool.utils.EditorHelper.openEditor(EditorHelper.java:307)
at com.kingdee.bos.tool.utils.EditorHelper$1.run(EditorHelper.java:292)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
解决步骤笔者重新发布了一次元数据就成功解决了此问题,就是这么神奇,由于我蝶上古时代设计的此产品检验信息居然没有日志的,笔者连想再次找此报错的信息来研究一下都木有机会的。。。。就是这么神奇。。。额。。。。系甘。。。。。,若小伙伴有遇到类似的问题,并且找到了原因,欢迎留言与我分享。。。。
以上就是我关于 EAS发布业务单元时报错-com kingdee bos engine MDNotFoundException 被引用的元数据[pk= type=bize]没有找到 detailMessage is 整个元数据解决方案中没有元数据 知识点整理与总结的全部内容,希望对你有帮助。。。。。。。
分割线