SpringBoot 启动出现如下情景,是因为项目中未引用spring-boot-starter-web导致

SpringBoot Process finished with exit code 0

只需在pom文件中引用如下架包即可
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

相关文章:

  • 2022-01-14
  • 2021-10-31
  • 2021-05-24
  • 2021-07-10
  • 2021-09-25
  • 2021-07-24
  • 2021-05-12
猜你喜欢
  • 2021-06-23
  • 2021-06-23
  • 2021-10-20
  • 2021-12-19
  • 2021-07-22
  • 2021-11-22
  • 2021-05-22
相关资源
相似解决方案