不仅要引入

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.0.1.RELEASE</version>
        <relativePath/> <!-- lookup parent from repository -->
</parent>

还要引入

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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-01-02
  • 2021-10-04
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-23
  • 2021-12-05
  • 2022-01-07
  • 2021-12-12
  • 2022-01-19
  • 2022-02-01
  • 2021-12-13
相关资源
相似解决方案