springboot整合mybatis时出错
来源:13-3 mybatis注解方式使用_B
沧海红心
2017-11-30
Caused by: java.lang.IllegalStateException: javax.websocket.server.ServerContainer not available
at org.springframework.util.Assert.state(Assert.java:70)
at org.springframework.web.socket.server.standard.ServerEndpointExporter.afterPropertiesSet(ServerEndpointExporter.java:102)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
... 39 more
测试时报以下异常
写回答
1回答
-
先把websocket相关的注解去掉,单测的时候websocket会报错,目前没有找到特别好的方法
012017-12-01
相似问题