springboot配置详情全

【请使用Chrome浏览器浏览,可以使用翻译功能,便于阅读】

 springboot每个组件可以在application.properties/application.yml配置文件可使用配置属性,收录的最新版本是SpringBoot2.1.8.RELEASE

 

2.1.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.8.RELEASE/reference/htmlsingle/#common-application-properties
2.1.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.7.RELEASE/reference/htmlsingle/#common-application-properties
2.1.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.6.RELEASE/reference/htmlsingle/#common-application-properties
2.1.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.5.RELEASE/reference/htmlsingle/#common-application-properties
2.1.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.4.RELEASE/reference/htmlsingle/#common-application-properties
2.1.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.3.RELEASE/reference/htmlsingle/#common-application-properties
2.1.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.2.RELEASE/reference/htmlsingle/#common-application-properties
2.1.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.1.RELEASE/reference/htmlsingle/#common-application-properties
2.1.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmlsingle/#common-application-properties
2.0.9.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.9.RELEASE/reference/htmlsingle/#common-application-properties
 2.0.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/ 2.0.8.RELEASE/reference/htmlsingle/#common-application-properties
2.0.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.7.RELEASE/reference/htmlsingle/#common-application-properties
2.0.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.6.RELEASE/reference/htmlsingle/#common-application-properties
2.0.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#common-application-properties
2.0.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.4.RELEASE/reference/htmlsingle/#common-application-properties
2.0.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/htmlsingle/#common-application-properties
2.0.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.2.RELEASE/reference/htmlsingle/#common-application-properties
2.0.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/#common-application-properties
2.0.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/2.0.0.RELEASE/reference/htmlsingle/#common-application-properties
1.5.22.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.22.RELEASE/reference/htmlsingle/#common-application-properties
1.5.21.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.21.RELEASE/reference/htmlsingle/#common-application-properties
1.5.20.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.20.RELEASE/reference/htmlsingle/#common-application-properties
1.5.19.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.19.RELEASE/reference/htmlsingle/#common-application-properties
1.5.18.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.18.RELEASE/reference/htmlsingle/#common-application-properties
1.5.17.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.17.RELEASE/reference/htmlsingle/#common-application-properties
1.5.16.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.16.RELEASE/reference/htmlsingle/#common-application-properties
1.5.15.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.15.RELEASE/reference/htmlsingle/#common-application-properties
1.5.14.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/reference/htmlsingle/#common-application-properties
1.5.13.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.13.RELEASE/reference/htmlsingle/#common-application-properties
1.5.12.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.12.RELEASE/reference/htmlsingle/#common-application-properties
1.5.11.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.11.RELEASE/reference/htmlsingle/#common-application-properties
1.5.10.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.10.RELEASE/reference/htmlsingle/#common-application-properties
1.5.9.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.9.RELEASE/reference/htmlsingle/#common-application-properties
1.5.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.8.RELEASE/reference/htmlsingle/#common-application-properties
1.5.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.7.RELEASE/reference/htmlsingle/#common-application-properties
1.5.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.6.RELEASE/reference/htmlsingle/#common-application-properties
1.5.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.5.RELEASE/reference/htmlsingle/#common-application-properties
1.5.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.4.RELEASE/reference/htmlsingle/#common-application-properties
1.5.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/htmlsingle/#common-application-properties
1.5.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.2.RELEASE/reference/htmlsingle/#common-application-properties
1.5.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.1.RELEASE/reference/htmlsingle/#common-application-properties
1.5.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.5.0.RELEASE/reference/htmlsingle/#common-application-properties
1.4.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.7.RELEASE/reference/htmlsingle/#common-application-properties
1.4.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.6.RELEASE/reference/htmlsingle/#common-application-properties
1.4.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.5.RELEASE/reference/htmlsingle/#common-application-properties
1.4.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.4.RELEASE/reference/htmlsingle/#common-application-properties
1.4.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.3.RELEASE/reference/htmlsingle/#common-application-properties
1.4.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.2.RELEASE/reference/htmlsingle/#common-application-properties
1.4.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/htmlsingle/#common-application-properties
1.4.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.4.0.RELEASE/reference/htmlsingle/#common-application-properties
1.3.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.8.RELEASE/reference/htmlsingle/#common-application-properties
1.3.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.7.RELEASE/reference/htmlsingle/#common-application-properties
1.3.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.6.RELEASE/reference/htmlsingle/#common-application-properties
1.3.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.5.RELEASE/reference/htmlsingle/#common-application-properties
1.3.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.4.RELEASE/reference/htmlsingle/#common-application-properties
1.3.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.3.RELEASE/reference/htmlsingle/#common-application-properties
1.3.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.2.RELEASE/reference/htmlsingle/#common-application-properties
1.3.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.1.RELEASE/reference/htmlsingle/#common-application-properties
1.3.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.3.0.RELEASE/reference/htmlsingle/#common-application-properties
1.2.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.8.RELEASE/reference/htmlsingle/#common-application-properties
1.2.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.7.RELEASE/reference/htmlsingle/#common-application-properties
1.2.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.6.RELEASE/reference/htmlsingle/#common-application-properties
1.2.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.5.RELEASE/reference/htmlsingle/#common-application-properties
1.2.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.4.RELEASE/reference/htmlsingle/#common-application-properties
1.2.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.3.RELEASE/reference/htmlsingle/#common-application-properties
1.2.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.2.RELEASE/reference/htmlsingle/#common-application-properties
1.2.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.1.RELEASE/reference/htmlsingle/#common-application-properties
1.2.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.2.0.RELEASE/reference/htmlsingle/#common-application-properties
1.1.12.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.12.RELEASE/reference/htmlsingle/#common-application-properties
1.1.11.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.11.RELEASE/reference/htmlsingle/#common-application-properties
1.1.10.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.10.RELEASE/reference/htmlsingle/#common-application-properties
1.1.9.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.9.RELEASE/reference/htmlsingle/#common-application-properties
1.1.8.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.8.RELEASE/reference/htmlsingle/#common-application-properties
1.1.7.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.7.RELEASE/reference/htmlsingle/#common-application-properties
1.1.6.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.6.RELEASE/reference/htmlsingle/#common-application-properties
1.1.5.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.5.RELEASE/reference/htmlsingle/#common-application-properties
1.1.4.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.4.RELEASE/reference/htmlsingle/#common-application-properties
1.1.3.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.3.RELEASE/reference/htmlsingle/#common-application-properties
1.1.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.2.RELEASE/reference/htmlsingle/#common-application-properties
1.1.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.1.RELEASE/reference/htmlsingle/#common-application-properties
1.1.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.1.0.RELEASE/reference/htmlsingle/#common-application-properties
1.0.2.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.0.2.RELEASE/reference/htmlsingle/#common-application-properties
1.0.1.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.0.1.RELEASE/reference/htmlsingle/#common-application-properties
1.0.0.RELEASE版本常用应用程序属性
https://docs.spring.io/spring-boot/docs/1.0.0.RELEASE/reference/htmlsingle/#common-application-properties
 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Spring Boot是一个用于快速开发Java应用的框架,它提供了许多注解来简化开发过程。下面是一些常用的Spring Boot注解及其详情: 1. @SpringBootApplication:这是一个组合注解,用于标记主应用程序类。它包含了@Configuration、@EnableAutoConfiguration和@ComponentScan三个注解,用于启用自动配置和组件扫描。 2. @RestController:该注解用于标记一个类,表示该类是一个RESTful风格的控制器。它将类中的方法返回的数据直接以JSON或XML格式发送给客户端。 3. @RequestMapping:该注解用于映射HTTP请求到控制器的处理方法。可以用于类级别和方法级别,用于指定URL路径和HTTP请求方法。 4. @Autowired:该注解用于自动装配依赖对象。Spring Boot会根据类型进行自动装配,如果有多个匹配的对象,可以结合@Qualifier注解指定具体的对象。 5. @Value:该注解用于从配置文件中读取属性值,并将其注入到对应的字段或方法参数中。 6. @Component:该注解用于标记一个类为Spring组件。被标记的类会被自动扫描并注册为Bean。 7. @Service:该注解用于标记一个类为业务逻辑层的组件。 8. @Repository:该注解用于标记一个类为数据访问层的组件。 9. @Configuration:该注解用于标记一个类为配置类,其中定义了一些Bean的创建和配置。 10. @EnableAutoConfiguration:该注解用于启用Spring Boot的自动配置机制。Spring Boot会根据项目的依赖自动配置相应的功能。 11. @EnableScheduling:该注解用于启用定时任务的支持。 12. @Transactional:该注解用于标记一个方法或类为事务处理的方法或类。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值