minio okhttp错误

0

找了好久错误结果是配置了jvm参数xss的问题:

java.lang.StackOverflowError
        at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at okhttp3.internal.Util.<clinit>(Util.kt:595)
        at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1239)
        at okhttp3.HttpUrl$Companion.get(HttpUrl.kt:1633)
        at okhttp3.HttpUrl$Companion.parse(HttpUrl.kt:1642)
        at okhttp3.HttpUrl.parse(HttpUrl.kt)
        at io.minio.MinioClient$Builder.getBaseUrl(MinioClient.java:2791)
        at io.minio.MinioClient$Builder.endpoint(MinioClient.java:2803)