原文:https://blog.csdn.net/lvoelife/article/details/134129860
在pom.xml中,新增
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
然後用maven,重新載入專案
原文:https://blog.csdn.net/lvoelife/article/details/134129860
在pom.xml中,新增
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
然後用maven,重新載入專案