上传测试时报了一个这样的错
Exception in thread "main" net.dopan.fastdfs.client.common.MyException: item "tracker_server" in /F:/Study/Java/01hello-dubbox-demo/demo-fastdfs/target/classes/fdfs_client.conf not found
at net.dopan.fastdfs.client.core.ClientGlobal.init(ClientGlobal.java:87)
at com.xxx.test.demofastdfs.DemoFastdfs.main(DemoFastdfs.java:19)
查看 ClientGlobal.init中的源码,发现他的tracker_server的值是根据fastdfs.tracker_server获取的,到fdfs_client.conf中查看并没有fastdfs开头,复制一行以fastdfs开头就行了
fastdfs.tracker_server=192.168.202.130:22122