苏雨丶
Results
1
issues of
苏雨丶
   我看了源码,ServerEndpointExporter 实现自SmartInitializingSingleton这个后置处理器,该处理器是在所有的Bean都初始化完成后,再执行的,如果不用@Component修饰,只要其它Bean注入都会报这个异常。 如果搭配@Component一起使用,就不会有该问题,我看大佬本身想剔除对@Component的依赖,只需要单独使用@ServerEndpoint注解。所以提了该issue。