liurunyu
2024-11-18 a1ba63732991ba7e5157787a1d683f40d8b40b3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
logging:
    charset:
        console: UTF-8
    config:
        classpath: log4j2.yml
 
#禁用白标错误页面
server:
    error:
        whitelabel:
            enabled: false
    #servlet配置
    servlet:
        encoding:
            #取消默认的字符集编码
            enabled: true
            #设置强制使用指定字符编码集
            force: true
            #使用的字符编码
            charset: utf-8
        context-path: /simRtu #web访问上下文路径
        context-parameters:
            #GenerateIdSetSuffixListener中应用,取值范围是0-99
            idSuffix: 0
    #web服务端口号
    port: 65530