这个地方改成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)
- 热议问题
-
验证码如何限制只有数字
1
-
组态数据过滤器data显示为null
1
-
cloud项目运行启动报错
1
-
物联网平台的防注入代码在哪
1
-
漏洞:越权
2
-
升级最新版代码后,使用代码生成功能报错
1
-
broker模块如何设置用mqtt协议连接
1
-
saber3 4.6版本无法启动问题
1
-
物理模型设置参数时操作失败,如何设置监听topic?
1
-
nacos 配置两个数据源,我在项目引入最新的redis配置 但是不生效;请问什么原因;
2
扫一扫访问 Blade技术社区 移动端