这个地方改成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/
改成其它任意名称都没事,请问这个是什么原因导致?
单独引入minio的依赖
<!--Oss--> <dependency> <groupId>org.springblade</groupId> <artifactId>blade-starter-oss</artifactId> </dependency> <!--MinIO--> <dependency> <groupId>io.minio</groupId> <artifactId>minio</artifactId> </dependency>
讨论(0)
官方新品
- 热议问题
-
bladexBoot4.5,按照开发手册配置多数据源报错
1
-
初次登录之后如何关联用户如何重新刷新
1
-
物联网历史数据接口时间数组传参数问题
1
-
自定义弹出框,多次弹出时弹出框内残留上一次的下拉框数据
2
-
Token增加器的使用为空问题
1
-
Invalid bound statement
1
-
生产环境启动成功后服务自动停止
1
-
只要系统抛了异常,系统就会出现跨域的提示
1
-
skywalking的log页块下没有日志数据
1
-
rider中 使用127.0.0.1访问正常,用域名访问就跨域,一般是哪里设置不对
1
扫一扫访问 Blade技术社区 移动端