pom.xml里spring-boot-starter-webs
2023-08-18 本文已影响0人
黎先生_
解决:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
<version>3.0.2</version>
</dependency>
项目需要引入websocket
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
</dependency>
网上提示这样导入,但是爆红