Google Maven repository -> Spring Boot Starter Security 粘贴
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
<version>2.3.11.RELEASE</version>
</dependency>
到pom.xml
搜索thymeleaf extras -> Thymeleaf Extras Springsecurity5, 粘贴
<!-- https://mvnrepository.com/artifact/org.thymeleaf.extras/thymeleaf-extras-springsecurity5 -->
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
到pom.xml
搜索 spring bo