初心 - Seata
type: channel
link: https://www.mayanpeng.cn/tag/Seata/
items: 使用Docker部署SeataServer时报错“Failed to bind properties under 'seata.server.service-port' to java.lang.Integer”

使用Docker部署SeataServer时报错“Failed to bind properties under 'seata.server.service-port' to java.lang.Integer”
type: item
date: 2023-12-06T17:13:21+08:00
description: 错误Description: Failed to bind properties under 'seata.server.service-port' to java.lang.Integer: Property: seata.server.service-port Value: "tcp://10.233.5.45:7091" Origin: "seata.server.service-port" from property source "serverProperties" Reason: failed to convert java.lang.String to java.lang.Integer (caused by java.lang.NumberFormatException: For input string: "tcp://10.233.5.45:7091")解决设置环境变量SEATA_PORT=8091