当前位置: 首页 > news >正文

SpringBoot集成Minio(接上文)

如果启动项目出现下面错误,把minio的版本更换为低版本的,我最初用的是8.5.7版本的出现下面错误,后面一直调低版本发现8.2.2,8.3.0都是可以的。(因为我需要用8.5.7的版本所以调了别的依赖的版本,大家可以根据自己的依赖进行调整)


***************************
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:io.minio.S3Base.<clinit>(S3Base.java:98)
The following method did not exist:okhttp3.RequestBody.create([BLokhttp3/MediaType;)Lokhttp3/RequestBody;
The calling method's class, io.minio.S3Base, was loaded from the following location:jar:file:/D:/Program%20Files/gradle-7.0/caches/modules-2/files-2.1/io.minio/minio/8.3.6/e6b8b7ac9f3e30f5d1b179ff3cc798d63cd2ba90/minio-8.3.6.jar!/io/minio/S3Base.classThe called method's class, okhttp3.RequestBody, is available from the following locations:jar:file:/D:/Program%20Files/gradle-7.0/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.14.9/3e6d101343c7ea687cd593e4990f73b25c878383/okhttp-3.14.9.jar!/okhttp3/RequestBody.class
The called method's class hierarchy was loaded from the following locations:okhttp3.RequestBody: file:/D:/Program%20Files/gradle-7.0/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.14.9/3e6d101343c7ea687cd593e4990f73b25c878383/okhttp-3.14.9.jarAction:Correct the classpath of your application so that it contains compatible versions of the classes io.minio.S3Base and okhttp3.RequestBodyDisconnected from the target VM, address: '127.0.0.1:63490', transport: 'socket'Process finished with exit code 1

http://www.lryc.cn/news/277386.html

相关文章:

  • 更新 torchtext 造成的torch版本不匹配的问题
  • flutter资源
  • C++经典程序
  • Java多线程-Thread类的run方法
  • java基础之Java8新特性-方法引入
  • K8S中的hostPort、NodePort 、targetPort、port、containerPort 的区别
  • SpringBoot整合FreeMarker模板引擎
  • 编程基础 - 变量与常量
  • Linux入门攻坚——12、Linux网络属性配置相关知识2
  • 如何自己实现一个分布式事务
  • 使用Nonebot编写QQ机器人
  • 认识SpringBoot中的条件注解
  • 使用PAI-DSW搭建基于LangChain的检索知识库问答机器人
  • 优雅的通过Shell脚本生成Go的程序包
  • 益生菌抗癌?补充这种益生菌,抑制肝癌,还改善肠道健康
  • LLM漫谈(二)| QAnything支持任意格式文件或数据库的本地知识库问答系统
  • Linux环境vscode clang-format格式化:vscode clang format command is not available亲测有效!
  • Vue3前端 响应式数据 知识点
  • golang数据库连接池设置多少比较合适,如何设置?
  • 一、Mybatis 简介
  • 苹果Vision Pro将于1月27日上市!
  • 密码学(一)
  • VueRouter
  • 什么是React.FC | 封装ant design弹框组件之:ant design 修改密码弹框组件
  • DHCP
  • VS code的使用介绍
  • 【蓝桥杯选拔赛真题57】python兔子分胡萝卜 第十四届青少年组蓝桥杯python 选拔赛比赛真题解析
  • Spring MVC中JSON数据处理方式!!!
  • 学习JavaEE的日子 阶段回顾
  • 深入理解 Flink(一)Flink 架构设计原理