-
报错:
-
#######################################################################
-
WARNING: no libwebkitgtk-1.0 detected, some features will be unavailable
-
Consider installing the package with apt-get or yum.
-
e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
-
#######################################################################
-
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
-
log4j:WARN Continuable parsing error 45 and column 76
-
log4j:WARN Element type "rollingPolicy" must be declared.
-
log4j:WARN Continuable parsing error 52 and column 14
-
log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".
-
log4j:WARN Please set a rolling policy for the RollingFileAppender named 'pdi-execution-appender'
-
java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._cachejvmptr()V
-
at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)
-
at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:499)
-
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:92)
-
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
-
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
-
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:151)
-
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:667)
-
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-
at java.lang.reflect.Method.invoke(Method.java:498)
-
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
-
-
解决:
-
yum install libwebkitgtk-1.0-0
-
还是不能解决,没有此包:
-
Loaded plugins: fastestmirror
-
Loading mirror speeds from cached hostfile
-
* base: mirrors.aliyun.com
-
* extras: mirrors.aliyun.com
-
* updates: mirrors.cn99.com
-
base | 3.6 kB 00:00:00
-
extras | 2.9 kB 00:00:00
-
updates | 2.9 kB 00:00:00
-
No package libwebkitgtk-1.0-0 available.
-
Error: Nothing to do
-
-
找到此方法:
-
yum list *webkit*|grep webkit
-
yum install webkitgtk4
-
-
再次执行 /usr/ local/data-integration/spoon.sh
-
问题解决了,如下:
-
-
#######################################################################
-
WARNING: no libwebkitgtk-1.0 detected, some features will be unavailable
-
Consider installing the package with apt-get or yum.
-
e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
-
#######################################################################
-
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
-
log4j:WARN Continuable parsing error 45 and column 76
-
log4j:WARN Element type "rollingPolicy" must be declared.
-
log4j:WARN Continuable parsing error 52 and column 14
-
log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".
-
log4j:WARN Please set a rolling policy for the RollingFileAppender named 'pdi-execution-appender'
-
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
-
at org.eclipse.swt.SWT.error(SWT.java:4621)
-
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1038)
-
at org.eclipse.swt.widgets.Display.create(Display.java:1025)
-
at org.eclipse.swt.graphics.Device.<init>(Device.java:179)
-
at org.eclipse.swt.widgets.Display.<init>(Display.java:590)
-
at org.eclipse.swt.widgets.Display.<init>(Display.java:581)
-
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:667)
-
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-
at java.lang.reflect.Method.invoke(Method.java:498)
-
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
-
-
至此,kettle已经安装完毕