image.png
    image.png

    1.Spring boot 如何添加开发者工具集 A
    spring-boot-devtools
    spring-boot-starter
    spring-starter-ribbon
    spring-starter-feign
    2.关于启动SpringBoot的方式正确的是 D
    在idea中直接使用启动(最常用)
    使用mvn 命令来启动
    使用mvn编译,而后在class目录生成jar包,使用Java命令来启动
    都对
    3.SpringBoot中,在application.yml文件中配置属性,那么我们在Controller中可以使用属性来进行获取 B
    @parameter
    @value
    @Component
    @name
    4.下面哪个注解不是@SpringbootApplication包含的默认属性值 D
    @Configuration
    @EnableAutoConfiguration
    @ComponentScan
    @EnableFeignClients
    5.springboot默认读取配置文件是 A
    application.properties或application.yml
    applicationContext.xml
    ContextLoader.properties
    applicationContext.xml 或ContextLoader.properties
    6.下列关于SpringBoot的优点错误的是 B
    为所有Spring开发者更快的入门
    外嵌式容器简化Web项目
    开箱即用,提供各种默认配置来简化项目配置
    没有冗余代码生成和XML配置的要求