Closed sbeimin closed 6 years ago
+1
java.nio.file.Files.probeContentType results in java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.Files$FileTypeDetectors
Yes, same here...
I am currently working on this issue and on other old ones too!
Hello,
I remove the src/main/resources/META-INF/services/java.nio.file.spi.FileTypeDetector so the problem must be solved
Thanks for the feedback!
src/main/resources/META-INF/services/java.nio.file.spi.FileTypeDetector points the File type detection system of NIO to the class com.upplication.s3fs.util.FileTypeDetector which does not exist.