目前很多小伙伴提到Minio版本升级问题,一下为修改方法:
依赖修改
类添加如下import内容
主要问题如下:
1.MinioClient的构造函数方式变为从builder里获取
2.检查桶的存在
3.创建桶的方式
4.文件上传方式
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.