請檢查pom.xml中是否引入了spring-boot-starter-web
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>ng-boot-starter-web</artifact</dependency>
請檢查pom.xml中是否引入了spring-boot-starter-web
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>ng-boot-starter-web</artifact</dependency>
聊天室的前期預研 使用springboot+websocket 搭建框架 1、項目創建,省略 2、jar包 <!--webSocket--> <dependency> <gro