编程知识 cdmana.com

kettle闪退,全网无解决方法

kettle打开闪退,全网无解决方法
操作系统:win10专业版(64位) jdk"18.0.1.1" kettle7.1
我想描述一下我的出错过程,从一开始就和别人不太一样

(1)在初始环境下(没有改变任何值),提示java虚拟机无法创建并提示a fatal exception occured,经过spoon.debug生成日志文件后,提示 "-XX:MaxPermSize=256m",也就是该参数不支持创建java虚拟机,但是这也是我身边的同学未出现的问题
这一步解决方法:我在上网查找后发现java8版本后不再支持这个参数,于是我选择删除,进入下一步
(2)在txt文本打开spoon.bat并删除参数后,打开时出现闪退情况。无论是java环境、jdk版本、kettle版本都有调试过,也更改了内存,但是还是出现了报错。报错文件如下
TXT:

DEBUG: Using JAVA_HOMEDEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jdk-18.0.1.1DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jdk-18.0.1.1\bin\java.exeD:\FireFox\pdi-ce-7.1.0.0-12\data-integration>"C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe"  "-Xms512m" "-Xmx512m"  "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win64" "-DKETTLE_HOME=D:\FireFox\pdi-ce-7.1.0.0-12\data-integration" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\pentaho-application-launcher-7.1.0.0-12.jar -lib ..\libswt\win64  /level:Debug java.lang.reflect.InaccessibleObjectException: Unable to make field private static final sun.net.www.protocol.jar.JarFileFactory sun.net.www.protocol.jar.JarURLConnection.factory accessible: module java.base does not "opens sun.net.www.protocol.jar" to unnamed module @6d9d8d52    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)    at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:180)    at java.base/java.lang.reflect.Field.setAccessible(Field.java:174)    at org.pentaho.di.core.plugins.KettleURLClassLoader.getFieldObject(KettleURLClassLoader.java:170)    at org.pentaho.di.core.plugins.KettleURLClassLoader.closeClassLoader(KettleURLClassLoader.java:227)    at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:611)    at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:120)    at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:636)    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:591)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)    at java.base/java.lang.Thread.run(Thread.java:833)00:27:57,858 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled00:27:57,938 INFO  [KarafInstance] ********************************************************************************** Karaf Instance Number: 1 at D:\FireFox\pdi-ce-7.1.0.0-12\data-integrati ****** on\.\system\karaf\caches\spoon\data-1 ****** FastBin Provider Port:52901 ****** Karaf Port:8802 ****** OSGI Service Port:9051 **********************************************************************************ERROR: Error parsing system bundle export statement: org.osgi.framework.startlevel;uses:="org.os    at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:214)    at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:229)    at org.apache.felix.framework.Felix.<init>(Felix.java:388)    at org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)    at org.apache.karaf.main.Main.launch(Main.java:231)    at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:239)    at java.base/java.lang.Thread.run(Thread.java:833)    at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:247)    at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:596)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)    at java.base/java.lang.Thread.run(Thread.java:833)Problem creating boot delegation class loader: java.lang.reflect.InaccessibleObjectException: Unable to make protected java.security.SecureClassLoader(java.lang.ClassLoader) accessible: module java.base does not "opens java.security" to unnamed module @6d9d8d52org.pentaho.di.core.exception.KettleException: java.lang.ExceptionInInitializerError at java.lang.Thread.run (Thread.java:833) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136) at java.util.concurrent.FutureTask.run (FutureTask.java:264) at org.pentaho.di.ui.spoon.Spoon$1.call (Spoon.java:616) at org.pentaho.di.ui.spoon.Spoon$1.call (Spoon.java:624) at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:79) at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:98) at org.pentaho.di.core.KettleEnvironment.init (KettleEnvironment.java:124) at org.pentaho.di.core.KettleClientEnvironment.init (KettleClientEnvironment.java:79) at org.pentaho.di.core.KettleClientEnvironment.init (KettleClientEnvironment.java:115) at org.pentaho.di.core.plugins.PluginRegistry.init (PluginRegistry.java:596) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init (OSGIPluginRegistryExtension.java:109) at org.pentaho.platform.osgi.KarafBoot.startup (KarafBoot.java:247) at java.lang.Thread.run (Thread.java:833) at org.pentaho.platform.osgi.KarafBoot$4.run (KarafBoot.java:239) at org.apache.karaf.main.Main.launch (Main.java:253) at org.apache.karaf.main.KarafActivatorManager.startKarafActivators (KarafActivatorManager.java:58) at java.lang.CompoundEnumeration.hasMoreElements (ClassLoader.java:2739) at java.lang.CompoundEnumeration.next (ClassLoader.java:2730) at java.net.URLClassLoader$3.hasMoreElements (URLClassLoader.java:684) at java.net.URLClassLoader$3.next (URLClassLoader.java:659) at java.security.AccessController.doPrivileged (AccessController.java:399) at java.net.URLClassLoader$3$1.run (URLClassLoader.java:660) at java.net.URLClassLoader$3$1.run (URLClassLoader.java:662) at jdk.internal.loader.URLClassPath$1.hasMoreElements (URLClassPath.java:359) at jdk.internal.loader.URLClassPath$1.next (URLClassPath.java:348) at jdk.internal.loader.URLClassPath.getLoader (URLClassPath.java:452) at jdk.internal.loader.URLClassPath.getLoader (URLClassPath.java:484) at java.security.AccessController.doPrivileged (AccessController.java:712) at jdk.internal.loader.URLClassPath$3.run (URLClassPath.java:485) at jdk.internal.loader.URLClassPath$3.run (URLClassPath.java:502) at jdk.internal.loader.URLClassPath$JarLoader.<init> (URLClassPath.java:732) at java.net.URL.<init> (URL.java:479) at java.net.URL.getURLStreamHandler (URL.java:1436) at org.apache.felix.framework.URLHandlers.createURLStreamHandler (URLHandlers.java:495)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:149)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:98)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:79)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:624)    at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:616)    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)    at java.base/java.lang.Thread.run(Thread.java:833)Caused by: java.lang.ExceptionInInitializerError    at org.apache.felix.framework.URLHandlers.createURLStreamHandler(URLHandlers.java:495)    at java.base/java.net.URL.getURLStreamHandler(URL.java:1436)    at java.base/java.net.URL.<init>(URL.java:479)    at java.base/jdk.internal.loader.URLClassPath$JarLoader.<init>(URLClassPath.java:732)    at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:502)    at java.base/jdk.internal.loader.URLClassPath$3.run(URLClassPath.java:485)    at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)    at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:484)    at java.base/jdk.internal.loader.URLClassPath.getLoader(URLClassPath.java:452)    at java.base/jdk.internal.loader.URLClassPath$1.next(URLClassPath.java:348)    at java.base/jdk.internal.loader.URLClassPath$1.hasMoreElements(URLClassPath.java:359)    at java.base/java.net.URLClassLoader$3$1.run(URLClassLoader.java:662)    at java.base/java.net.URLClassLoader$3$1.run(URLClassLoader.java:660)    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)    at java.base/java.net.URLClassLoader$3.next(URLClassLoader.java:659)    at java.base/java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:684)    at java.base/java.lang.CompoundEnumeration.next(ClassLoader.java:2730)    at java.base/java.lang.CompoundEnumeration.hasMoreElements(ClassLoader.java:2739)    at org.apache.karaf.main.KarafActivatorManager.startKarafActivators(KarafActivatorManager.java:58)    at org.apache.karaf.main.Main.launch(Main.java:253)    at org.pentaho.platform.osgi.KarafBoot$4.run(KarafBoot.java:239)    at java.base/java.lang.Thread.run(Thread.java:833)    at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:247)    at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:109)    at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:596)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:115)    at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:79)    at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:124)    ... 8 moreCaused by: java.lang.RuntimeException: Unable to make protected boolean java.net.URLStreamHandler.equals(java.net.URL,java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @6d9d8d52    at org.apache.felix.framework.URLHandlersStreamHandlerProxy.<clinit>(URLHandlersStreamHandlerProxy.java:104)    ... 36 more
我只能打开就行了

版权声明
本文为[CSDN问答]所创,转载请带上原文链接,感谢
https://ask.csdn.net/questions/7743924

Scroll to Top