今天在配置minio的时候遇到了一个报错
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-11-24 10:31:42.897 ERROR 14312 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** 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: okio.Segment.writeTo(Segment.kt:169) The following method did not exist: kotlin.collections.ArraysKt.copyInto([B[BIII)[B The method's class, kotlin.collections.ArraysKt, is available from the following locations: jar:file:/C:/Users/ASUS/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.2.71/kotlin-stdlib-1.2.71.jar!/kotlin/collections/ArraysKt.class It was loaded from the following location: file:/C:/Users/ASUS/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.2.71/kotlin-stdlib-1.2.71.jar
搜了下发现是kotlin版本太低与minio8不兼容,不想改kotlin版本害怕出现更多问题,但是minio改成7.0.2又会报
Cannot resolve method 'builder' in 'MinioClient'
最后发现minio7.1.0可以完美解决