| New file | 
|  |  |  | 
|---|
|  |  |  | logging: | 
|---|
|  |  |  | charset: | 
|---|
|  |  |  | console: UTF-8 | 
|---|
|  |  |  | config: | 
|---|
|  |  |  | classpath: log4j2.yml | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #web服务端口,tomcat默认是8080 | 
|---|
|  |  |  | server: | 
|---|
|  |  |  | error: | 
|---|
|  |  |  | whitelabel: | 
|---|
|  |  |  | enabled: false | 
|---|
|  |  |  | port: 65534 | 
|---|
|  |  |  | servlet: | 
|---|
|  |  |  | context-path: /rtu #web访问上下文路径 | 
|---|
|  |  |  | encoding: | 
|---|
|  |  |  | #取消默认的字符集编码 | 
|---|
|  |  |  | enabled: true | 
|---|
|  |  |  | #设置强制使用指定字符编码集 | 
|---|
|  |  |  | force: true | 
|---|
|  |  |  | #使用的字符编码 | 
|---|
|  |  |  | charset: utf-8 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #禁止启动数据库连接池 | 
|---|
|  |  |  | spring: | 
|---|
|  |  |  | #autoconfigure: | 
|---|
|  |  |  | #    exclude: | 
|---|
|  |  |  | #        - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration | 
|---|
|  |  |  | #        - org.springframework.boot.autoconfigure.jdbc.JdbcTemplateAutoConfiguration | 
|---|
|  |  |  | #        - org.springframework.boot.autoconfigure.jdbc.JndiDataSourceAutoConfiguration | 
|---|