注册 登录
编程论坛 JAVA论坛

打包后无法运行报错

zhaokuangyin 发布于 2022-01-10 20:48, 2604 次点击
Error creating bean with name 'serverEndpointExporter' defined in class path resource [com/youji/websocket/config/WebSocketConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
1 回复
#2
z444212022-02-13 17:03
初始化方法失败,看看WebSocketConfig.class这个类
1