1. Question:
the following error occurred:
public void registerStompEndpoints(StompEndpointRegistry stompEndpointRegistry) {
log.info("stomp ... ... ... ");
stompEndpointRegistry
.addEndpoint("/chat")
.addInterceptors(new CocoshakeInterceptor())
...
}