我刚刚安装了windows-10 Pro N(64位)(迄今未激活和完全更新)并从pentaho来源下载this。安装java(64位)并使用其JRE文件夹的路径创建环境变量PENTAHO_JAVA_HOME
后,我设法正确启动了spoon.bat
。
但是,我无法访问存储库菜单:
同时添加:-Dorg.eclipse.swt.browser.DefaultType=mozilla
作为参数:
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx7680m" "-Dorg.eclipse.swt.browser.DefaultType=mozilla"
当点击连接按钮时,在窗口中引发了以下错误:
An unexpected error occurred in Spoon:
No more handles [Could not detect registered XULRunner to use]
org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
at org.pentaho.di.ui.core.dialog.ThinDialog.createDialog(ThinDialog.java:69)
at org.pentaho.di.ui.repo.RepositoryDialog.openCreation(RepositoryDialog.java:264)
at org.pentaho.di.ui.repo.RepositoryConnectMenu$2.widgetSelected(RepositoryConnectMenu.java:124)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1366)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
为什么会发生这种情况以及如何解决?