如果你的启动没有问题的话,也能返回具体的url,但是还是无法访问到静态页面的时候,你就要考虑下是否没有引用thymeleaf。
我启动没有问题,但是无法访问到文件夹ddCancelAuthorization下面的静态页面index.html,直接报错404,后面才发现原来缺少引用thymeleaf
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>