使用Docker部署SeataServer时报错“Failed to bind properties under 'seata.server.service-port' to java.lang.Integer”


错误

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

声明:初心|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 使用Docker部署SeataServer时报错“Failed to bind properties under 'seata.server.service-port' to java.lang.Integer”


愿你勿忘初心,并从一而终