Exception in thread “main“ org.csource.common.MyException: item “tracker_server“ in not found

本文详细解析了FastDFS客户端配置文件fdfs_client.conf中tracker_server参数未被正确读取的问题,通过修改配置文件路径为绝对路径成功解决了异常,确保了FastDFS系统的正常运行。

Exception in thread "main" org.csource.common.MyException: item "tracker_server" in src/main/resources/fdfs_client.conf not found

该异常是表示tracker_server未找到,但是看了一下配置tracker_server是存在的,后面试了一下修改fdfs_client.conf路径,将它改为绝对路径然后就成功了

connect_timeout = 10
network_timeout = 30
charset = UTF-8
http.tracker_http_port = 8080
http.anti_steal_token = no
http.secret_key = FastDFS1234567890
tracker_server = 192.168.179.128:22122
tracker_server = 192.168.179.129:22122

 

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值