????????今天在配置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可以完美解決?