com.diantuo.DynamicDataSourceTest

提问 2 872
yuxuan
yuxuan VIP3 2020-07-31
版本:renren-security V2.5 开发环境:
1.Error creating bean with name 'serverEndpointExporter' defined in class path resource [com/diantuo/websocket/config/WebSocketConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
回帖
  • @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) 把这个加上就可以了
    0 回复
  • @Mark 我也遇到这个问题了 请问这是在哪加啊 打包正常,但放到tomcat运行就报这个错
    0 回复