springboot Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu May 07 13:38:08 CST 2020 There was an unexpected error (type=Not Found, status=404). No message available报错
springboot Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu May 07 13:38:08 CST 2020 There was an unexpected error (type=Not Found, status=404). No message available报错
在使用spring security时候,由于html中使用了thymeleaf,故需要加入依赖:
org.springframework.boot spring-boot-starter-thymeleaf