JDeploy icon indicating copy to clipboard operation
JDeploy copied to clipboard

在Jetty中运行时出现错误

Open zhangmanman opened this issue 7 years ago • 1 comments

在Jetty7,8和9运行时都会出现错误,在Jetty7中运行时出现Caused by: java.lang.IllegalStateException: No suitable default RequestUpgradeStrategy found at org.springframework.web.socket.server.support.AbstractHandshakeHandler.initRequestUpgradeStrategy(A

,在Jetty9中会出现java.lang.NoSuchMethodError: org.eclipse.jetty.websocket.server.WebSocketServerFactory: method ()V not found,

你能否把正确的jetty版本号发给我呢?

zhangmanman avatar Apr 21 '17 10:04 zhangmanman

这个是Spring Websocket不支持Jetty最新版本导致的。有空我把项目中Spring Websocket去掉。目前我使用9.3.4.v20151007版本Jetty没有这个问题。

wucao avatar Apr 21 '17 11:04 wucao