com.diantuo.DynamicDataSourceTest

提问 未结 1 25
yuxuan
悬赏:20积分
版本: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 回复