安裝703BOSModular開發環境後遇到問題的解決方案

安裝eas703版本的bosModular開發工具後,會遇到了一些問題,這裏記錄一下問題及解決方案。

1.bos視圖打不開,提示空指針異常 (圖1)

解決方案:導入bosLicense,可以將boslicense.jar替換到BOSModular\boscommon\eclipse\plugins\com.kingdee.bos.boslicense_6.1.0\下的同名文件即可


2.啓動客戶端時會報如下錯誤,原因是因爲部分包路徑過長,703版本需要手動合併lib包(在bim透視圖的工具欄中選擇“工具”->合併LIB,然後按照步驟操作完即可。)。

錯誤信息如下:==================Begin================================================

org.eclipse.core.runtime.CoreException: 處理調試異步隊列時發生異常
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:802)
at org.eclipse.jdt.launching.AbstractVMRunner.exec(AbstractVMRunner.java:70)
at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:249)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:101)
at com.kingdee.bos.bim.launch.EASProgrammeConfigurationDelegate.launch(EASProgrammeConfigurationDelegate.java:51)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:764)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:607)
at com.kingdee.bos.bim.launch.JavaProgrammeLauncher.launch(JavaProgrammeLauncher.java:247)
at com.kingdee.bos.bim.launch.JavaProgrammeLauncher.debug(JavaProgrammeLauncher.java:255)
at com.kingdee.bos.bim.launch.EASProgrammeLauncher.launch(EASProgrammeLauncher.java:147)
at com.kingdee.bos.bim.launch.LaunchConfig.startDefaultClient(LaunchConfig.java:246)
at com.kingdee.bos.bim.actions.run.StartTestAction.run(StartTestAction.java:41)
at com.kingdee.bos.md.actions.base.BaseMDResourceAction.run(BaseMDResourceAction.java:309)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:234)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
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:585)
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)
Caused by: java.io.IOException: CreateProcess: E:\kingdee\bos\BOSModular\jdk\bin\javaw.exe -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:58428 -Xmx768m -XX:MaxPermSize=256m -Dbos.config=E:\kingdee\workspace\eas/runtime/server/profiles/server1/config/bosconfig.xml -Dctrlhome=E:\kingdee\workspace\eas/runtime/ctrlhome -Djava.awt.headless=true -Ddatacenter.config=E:\kingdee\workspace\eas/runtime/server/properties/datacenters.xml -Dbos.sc2tc.dict=E:\kingdee\workspace\eas/runtime/server/properties/sc2tc -Dlistener.config=E:\kingdee\workspace\eas/runtime/server/profiles/server1/config/listenerconfig.data -Dportal.config=E:\kingdee\workspace\eas/runtime/server/profiles/server1/config/portalConfig/portalConfig.xml -Dormrpc.config=E:\kingdee\workspace\eas/runtime/server/profiles/server1/config/ormrpc_eas.properties -Dbluewater.uuid.hostLockPort=5504 -Djava.security.auth.login.config=E:\kingdee\workspace\eas/runtime/server/properties/login.config -Djava.security.krb5.conf=E:\kingdee\workspace\eas/runtime/server/properties/krb5.conf -D?
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:798)
... 44 more


==================End================================================


3.開發工具啓動客戶端後提示沒有模塊的license

將LicenseController.java類 放到src\com\kingdee\eas\base\license\client下即可。













發佈了32 篇原創文章 · 獲贊 4 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章