spring security认证成功后跳转页面显示404 查看Controller 的使用的注解 @RestController //注意该地方的注解是@RestController 不是 @Controller public class HelloClontroller { @RequestMapping("/hello") public String hello() { return "泗水发da水"; } }