Failed to register @ServerEndpoint class: class top.canye.sys.controller.junkewei.JunKeWeiController

Failed to register @ServerEndpoint class: class top.canye.sys.controller.junkewei.JunKeWeiController

在使用webSocket的过程中出现这个错误

最后进过排查发现 ServerEndpoint 的访问路径必须以/打头 添加后项目正常启动


版权声明:本文为haodiaoji9386原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。