Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Using http(s) uri results in NoClassDefFoundError.
Es. in text file input:
2022/02/08 12:45:55 - Text file input.0 - ERROR: Error initializing transform [Text file input] 2022/02/08 12:45:55 - Text file input.0 - ERROR: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpConnectionManager 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.provider.http.HttpFileProvider.doCreateFileSystem(HttpFileProvider.java:73) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:92) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:71) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:55) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:788) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:754) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:819) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.core.vfs.HopVfs.getFileObject(HopVfs.java:178) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.core.fileinput.FileInputList.createFileList(FileInputList.java:204) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.core.fileinput.FileInputList.createFileList(FileInputList.java:169) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.pipeline.transforms.file.BaseFileInputMeta.getFileInputList(BaseFileInputMeta.java:120) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.pipeline.transforms.file.BaseFileInputTransform.init(BaseFileInputTransform.java:72) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.pipeline.transforms.fileinput.text.TextFileInput.init(TextFileInput.java:57) 2022/02/08 12:45:55 - Text file input.0 - at org.apache.hop.pipeline.transform.TransformInitThread.run(TransformInitThread.java:69) 2022/02/08 12:45:55 - Text file input.0 - at java.lang.Thread.run(Thread.java:748) 2022/02/08 12:45:55 - Text file input.0 - Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpConnectionManager 2022/02/08 12:45:55 - Text file input.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:382) 2022/02/08 12:45:55 - Text file input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 2022/02/08 12:45:55 - Text file input.0 - at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) 2022/02/08 12:45:55 - Text file input.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 2022/02/08 12:45:55 - Text file input.0 - ... 15 more
Moving ./plugins/tech/parquet/lib/commons-httpclient-3.1.jar into ./lib as Matt suggested resolve the issue.