Я получаю исключение ExceptionInInitializerError при использовании клиента MinIO s3
Caused by: org.xmlpull.v1.XmlPullParserException:
caused by: org.xmlpull.v1.XmlPullParserException:
resource not found: /META-INF/services/org.xmlpull.v1.XmlPullParserFactory
make sure that parser implementing XmlPull API is available
at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:294)
at org.xmlpull.v1.XmlPullParserFactory.newInstance(XmlPullParserFactory.java:259)
at io.minio.MinioClient.<clinit>(MinioClient.java:214)
... 71 more
Код:
new MinioClient(S3Endpoint,S3AccessKey, S3SecretKey, false)