可能原因1: pom.xml中没有添加web依赖

添加:

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
</dependency>

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-11-14
  • 2022-12-23
  • 2021-10-28
  • 2021-05-22
猜你喜欢
  • 2021-11-14
  • 2022-12-23
  • 2022-01-17
  • 2021-04-11
  • 2021-08-31
  • 2021-09-25
相关资源
相似解决方案