我已经设置了一个带有FrameworkEndpointHandlerMapping
添加的端点的oauth2服务器。当执行器未启用弹簧启动时,将立即到达端点。但是,如果我添加执行器,那么在日志中就会得到:
2019-03-21 20:36:19 [http-nio-9091-exec-2] DEBUG o.s.b.a.e.w.s.WebMvcEndpointHandlerMapping - Looking up handler method for path /oauth/token
2019-03-21 20:36:21 [http-nio-9091-exec-2] DEBUG o.s.b.a.e.w.s.WebMvcEndpointHandlerMapping - Did not find handler method for [/oauth/token]
2019-03-21 20:36:21 [http-nio-9091-exec-2] DEBUG o.s.b.a.e.w.s.ControllerEndpointHandlerMapping - Looking up handler method for path /oauth/token
2019-03-21 20:36:21 [http-nio-9091-exec-2] DEBUG o.s.b.a.e.w.s.ControllerEndpointHandlerMapping - Did not find handler method for [/oauth/token]
2019-03-21 20:36:23 [http-nio-9091-exec-2] DEBUG o.s.s.o.p.e.FrameworkEndpointHandlerMapping - Looking up handler method for path /oauth/token
2019-03-21 20:36:23 [http-nio-9091-exec-2] TRACE o.s.s.o.p.e.FrameworkEndpointHandlerMapping - Found 1 matching mapping(s) for [/oauth/token] : [{[/oauth/token],methods=[POST]}]
我该如何解决?
春季启动版本:2.0.6