minio上传文件

Blade 未结 1 733
社会你方哥
社会你方哥 2022-09-23 11:15

image.png

这个地方改成minio,项目启动报错,org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'minioClient' defined in class path resource [core/oss/config/MinioConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.minio.MinioClient]: Factory method 'minioClient' threw exception; nested exception is java.lang.IllegalArgumentException: no path allowed in endpoint http://10.2.0.9:32056/ems/

改成其它任意名称都没事,请问这个是什么原因导致?

1条回答
  •  admin
    admin (楼主)
    2022-09-23 14:04

    单独引入minio的依赖

    
    
      org.springblade
      blade-starter-oss
    
    
    
      io.minio
      minio
    


    0 讨论(0)
提交回复