spring boot
ChengQian's blog
这个作者很懒,什么都没留下…
展开
-
springboot中所有含有import语句的文件都标红
解决方案 idea缓存,清除一下重启原创 2022-01-05 17:31:00 · 587 阅读 · 0 评论 -
springboot使用websocket建立长连接
1. 引入依赖 <!--websocket连接需要使用到的包--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> 2. 添加配置类 import org.springframework.context.a原创 2021-12-10 17:42:46 · 2524 阅读 · 0 评论