Swagger ui白屏了~

请教一个问题。我用的springboot 2.7.0 ,swagger2 version3.0,搭建swagger环境,跑起来没有报错,但是swagger ui白屏。
导入pomy依赖如下

<dependencies>
        <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui -->
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>3.0.0</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>3.0.0</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
            <version>2.7.0</version>
        </dependency>

    </dependencies>

然后,我写了一个测试的controller,hello,可以正常访问


然后我看了一下springfox-swagger-ui的包jar包,确认了一下swagger ui index页面的路径。

地址是 http://localhost:8080/webjars/springfox-swagger-ui/index.html

但是控制台有一个报错

我又检查了idea的控制台,并没有任何报错

(刚开始没有添加thyemeleaf的pom依赖,我以为是没有模板引擎的问题,但是导入thymeleaf后,仍然这样)请问这个是什么原因,如何解决。。

你看看接口请求的响应 一般这个报错都是JSON格式不匹配前端页面 可能需要自定义一个响应的JSON映射器

大佬,如果您有空的话,能不能私聊沟通一下。我发消息了