黑马程序员Java进阶教程快速入门Spring Security OAuth2.

P19:如果你自定义登录页面一直404,你可以选择添加依赖
<!--jsp页面使用jstl标签 --> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> </dependency> <!--用于编译jsp --> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency>