Start application catch exception
项目启动报错 Start application catch exception [org.springframework.beans.factory.BeanCreationException]: Error creating bean with xxx: Injection of resource dependencies failed; ...
分析原因发现,WebSocket线程注入失败,修改如下:
@Autowiredpublic xxxWebSocketListener(@Qualifier("taskExecutor") ThreadPoolTaskExecutor execute) {this.execute = execute;}