Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Jetty中运行时出现错误 #5

Open
zhangmanman opened this issue Apr 21, 2017 · 1 comment
Open

在Jetty中运行时出现错误 #5

zhangmanman opened this issue Apr 21, 2017 · 1 comment

Comments

@zhangmanman
Copy link

在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版本号发给我呢?

@wucao
Copy link
Owner

wucao commented Apr 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants