springboot-pom.xml-spring-boot-starter-parent、spring-boot-starter-web

POM文件

父项目


    org.springframework.boot
    spring-boot-starter-parent
    2.2.4.RELEASE
     

SpringbBoot的仲裁中心 Spring Boot Dependencies ,它来管理SpringbBoot的所有依赖版本,所以导入依赖的时候可以不写版本,在dependencies里面管理的依赖自然会声明版本号

启动器


    org.springframework.boot
    spring-boot-starter-web

springboot将所有的功能场景都抽取出来,做成一个个的starters(启动器),只需要在项目里面引入这些starter相关场景的所有依赖都会导入进来。要用什么功能就导入什么场景的启动器

你可能感兴趣的:(springboot-pom.xml-spring-boot-starter-parent、spring-boot-starter-web)