Skip to content

Commit 881e7b2

Browse files
committed
Fix plugin throws ClassNotFoundException with EmbulkEmbed
1 parent 1ecaac7 commit 881e7b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/embulk/output/sftp/SftpFileOutput.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ private StandardFileSystemManager initializeStandardFileSystemManager()
5555
System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.NoOpLog");
5656
}
5757
StandardFileSystemManager manager = new StandardFileSystemManager();
58+
manager.setClassLoader(SftpFileOutput.class.getClassLoader());
5859
try {
5960
manager.init();
6061
}

0 commit comments

Comments
 (0)