SpringBoot常用应用属性配置表
#=========================================
#COMMON SPRING BOOT PROPERTIES
#
#This sample file is provided as a guideline. Do Not copy it in its entirety to your own application
#========================================= #--------------------------------------------------------------------------
#CORE PROPERTIES
#-------------------------------------------------------------------------- #BANNER
banner.charset=UTF-8 #baner file encoding
banner.location=classpath:banner.txt #banner file location #SPRING CONFIG(ConfigFileApplicationListener)
spring.config.name = #config file name (default to 'application')
spring.config.location = #location of config file #PROFILED
spring.profiles.active= #comma list of active profiles
spring.profiles.include= #unconditionally activate the specified comma separated profiles #APPLICATION SETTINGS (SpringApplication)
spring.main.sources= #sources(class name,package name or XML resource location) to include
spring.main.web-enviroment= # detect by default
spring.main.show-banner=true
spring.main....= #see class for all properties #ADMIN (SpringApplicationAdminJmxAutoConfiguraion)
spring.application.admin.enabled=false #enable admin features for the application
spring.application.admin.jmx-name=org.springframework.boot:type=Admin,name=SpringApplication #JMX name of the application admin MBean #OUTPUT
spring.output.ansi.enabled=detect #Configure the ANSI output("detect","always","never") #LOGGING
logging.path=/var/logs
logging.file=myapp.log
logging.config= # location of config file (default classpath:logback.xml for logback)
logging.level.*= #levels for loggers,e.g. "logging.level.org.springframework=DEBUG"(TRACE,DEBUG,INFO,WARN,ERROR,FATAL,OFF) #IDENTITY(ContextIdApplicationContextInitializer)
spring.application.name=
spring.application.index= #EMBEDDED SERVER CONFIGURATION (ServerProperties)
server.prot=8080
server.address= #bind to a specific NIC
server.context-parameters.*= #Servlet context init parameters,e.g."server.context-parameters.a=aplha"
server.context-path= #
SpringBoot常用应用属性配置表的更多相关文章
- WDA基础十四:ALV字段属性配置表
ALV配置表管理 一.字段属性配置表 对于可编辑的ALV不用这个,尽可能多的设置一些控制: 单元格类型:默认A,特殊选择 ZLYE_TYPE E A 1 ...
- 阿里druid数据源属性配置表
https://cloud.tencent.com/developer/article/1368903 DRUID 属性说明表 属性(Parameter) 默认值(Default) 描述(Descri ...
- SpringBoot01 InteliJ IDEA安装、Maven配置、创建SpringBoot项目、属性配置、多环境配置
1 InteliJ IDEA 安装 下载地址:点击前往 注意:需要下载专业版本的,注册码在网上随便搜一个就行啦 2 MAVEN工具的安装 2.1 获取安装包 下载地址:点击前往 2.2 安装过程 到官 ...
- SpringBoot总结之属性配置
一.SpringBoot简介 SpringBoot是spring团队提供的全新框架,主要目的是抛弃传统Spring应用繁琐的配置,该框架使用了特定的方式来进行配置,从而使开发人员不再需要定义样板化的配 ...
- springboot集成freemarker属性配置(不知道是针对于某个版本,2.0后有变动)
freemarker属性配置 freemarker属性配置: spring.freemarker.allow-request-override=false # 设置是否允许HttpServletReq ...
- [02] SpringBoot的项目属性配置
1.application.properties 简述 配置文件的使用和调整都非常方便,直接在项目默认的classpath下的application.properties文件中做调整即可.例如Spri ...
- MyBatis3系列__03几个常用的属性配置
本文主要讲几个xml配置属性: 其都写在mybatis配置文件中 1.properties属性:其作用主要是可以动态引进外部的配置文件中的相关配置 resource:引入类路径下的资源 url:引入网 ...
- Springboot的常规属性配置和类型安全配置
1.类型常规配置: 通过在properties文件中注入键值对的方式,在java代码中通过@Value注解注入值 2.类型安全配置 将要注入的属性包装成一个类,给类加上注解:ConfigrationP ...
- spring-boot学习之属性配置
通过@value注解,将配置文件中的内容引入
随机推荐
- 11. CTF综合靶机渗透(四)
运行环境 Virtualbox (二选一) Vnware Workstation player 通关提示 Enumeration is key Try Harder Look in front of ...
- 如何在MySQL中设置外键约束
引用:http://blog.sina.com.cn/s/blog_53729e4601011wja.html MySql外键设置详解 (1) 外键的使用: 外键的作用,主要有两个: 一个是 ...
- C4-总结
呃,很难受的比赛,中途做到口干舌燥还想尿尿//哦,题目,出的很棒,什么都可以做做,什么都做不下来. 怎么说呢?好像也没犯什么错误,除了日常开始手抖了一下...后面状态进入挺快的,而且遗憾?3-2吧,t ...
- 魔卡少女(cardcaptor)——线段树
题目 [题目描述] 君君是中山大学的四年级学生.有一天在家不小心开启了放置在爸爸书房中的一本古书.于是,君君把放在书中最上面的一张牌拿出来观摩了一下,突然掀起一阵大风把书中的其她所有牌吹散到各地.这时 ...
- css 权重值(层叠性)详解
目录 css权重值(重叠性)实例 权重值的计算 !important 提升权重值实例 什么情况下可以使用!important ? 总结: css权重值(重叠性)实例 css中有很多选择器,那在多个选择 ...
- Apple开发者账号更改公司名称
对于大多数的开发者而言,可能很少遇见要修改账户的公司名称的问题,本来公司之前是这个名称,但是后来改名为另外的名称,这样的话在Apple开发者账号上的公司名称再用就不好了,所以就需要到Apple dev ...
- 今天实现一个T-sql的小编程,分享给大家,看看就好~(列值赋值)
介绍:将一个表的某列值插入到另一个表的列里,暂定为表aa和表nn DECLARE @a int set @a=1 while @a<nn.列1.length --(注:语法不对你可以用查询 ...
- $.store.book[?(@.category=='fiction')].category
表达式1 $.store.book[?(@.category=='fiction')].category json source { "store": { "book&q ...
- 如何理解javascript中的同步和异步
javascript语言是一门“单线程”的语言,不像java语言,类继承Thread再来个thread.start就可以开辟一个线程,所以,javascript就像一条流水线,仅仅是一条流水线而已,要 ...
- 错误:正在解析文件 '/var/lib/dpkg/updates/0004'
sudo rm /var/lib/dpkg/updates/* sudo apt-get update