728x90
javax.servlet.ServletException: No adapter for handler [org.springframework.web.socket.server.support.WebSocketHttpRequestHandler@69ccfce9]: The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler
@Controller
public class MainController {
@EnableWebMvc 추가하기
@Controller
@EnableWebMvc
public class MainController {
'Spring' 카테고리의 다른 글
[Spring] WebSocket sockJS Q&A 실시간 알림 구현하기 (2) (3) | 2021.11.12 |
---|---|
[Spring] WebSocket sockJS Q&A 실시간 알림 구현하기 (1) (0) | 2021.11.11 |
[JAVA] java.lang.Integer cannot be cast to java.lang.String 형변환 오류 해결하기 (0) | 2021.10.29 |
[EgovFramework] Spring Interceptor session AJAX 처리 (0) | 2021.10.18 |
[EgovFramework] context-syslogaop.xml aop Error (0) | 2021.10.12 |