undertow
-
org.apache.tomcat.websocket.WsWebSocketContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainerJava/Spring Framework 2016. 7. 25. 23:02
스프링부트책으로 따라하던 중 REST API 서버 실행시 에러가 났다. Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.ClassCastException: org.apache.tomcat.websocket.WsWebSocketContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer 구글링을 해보니 2가지 정도 방법이 있다. 1) pom.xml에서 undertow 제거 기본 maven 프로젝트 생성시 추가..