resin+spring-websocket|resin+spring-websocket 深坑

公司服务器用的是resin 4.0.44,由于之前一直使用tomcat,所有本地测试还是用的tomcat。
现在项目新需求需要用到websocket,于是就使用了spring-websocket封装好的api,本地开发一切顺利,
于是开始上线上测试环境了,这时resin和spring-websocket之间的矛盾就出现了!
java.lang.IllegalStateException: No suitable default RequestUpgradeStrategy found
百度是没希望解决了,于是科学上网找谷歌,得到如下结果:(地址:https://jira.spring.io/browse/SPR-14910)
resin+spring-websocket|resin+spring-websocket 深坑
文章图片

看来resin+spring-socket是没戏了,现在准备放弃spring-scoket,毕竟现在无法放弃resin!直接使用resin封装好的api来实现websocket

【resin+spring-websocket|resin+spring-websocket 深坑】转载于:https://www.cnblogs.com/b422/p/8554529.html

    推荐阅读