Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as

时间:2025-02-11 20:24:02
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance" xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0."> <modelVersion>4.0.0</modelVersion> <groupId></groupId> <artifactId>thymeleaf-test</artifactId> <version>1.0-SNAPSHOT</version> <parent> <groupId></groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.6.6</version> <relativePath/> </parent> <dependencyManagement> <dependencies> <!-- /artifact//spring-boot-starter-thymeleaf --> <!-- 版本不能太高,此3.及以上版本无法和spring-boot的版本对上,需要降低版本(或者用parent管控默认的版本) --> <!-- <dependency>--> <!-- <groupId></groupId>--> <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>--> <!-- <version>3.1.5</version>--> <!-- </dependency>--> <!-- <dependency>--> <!-- <groupId></groupId>--> <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>--> <!-- <version>2.6.7</version>--> <!-- </dependency>--> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId></groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> </project>