Skip to content

Commit e9234c8

Browse files
committed
Merge pull request #19 from sakama/fix-class-not-found-exception
[Fix bugs] Plugin throws ClassNotFoundException with EmbulkEmbed
2 parents 1ecaac7 + 881e7b2 commit e9234c8

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)