1.返回htmle文件 第一种方式这种情况,controller必须使用@Controller注解在pom.xml文件中加入依赖:spring-boot-starter-thymeleaf 例如:在 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交