protoc no syntax specified for the proto file 解决方法: 当存在多个不同版本的protoc的时候,需要在对应的protoc文件的最开始添加如下语句: syntax = "proto3";