protobuf 生成代码是加上 Override DCodegitxdremioprotocoltargetgenerated-sourcesprotobufcomdremioexecprotoFlightProtosjava240710 ▒▒▒▒ MissingOverride getUserNameBytes implements method in SysFlightTicketOrBui
Yes, the error message is suggesting that you add the @Override annotation to the getUserNameBytes method in the SysFlightTicketOrBuilder interface. The correct code should be:
@Override
public com.google.protobuf.ByteString getUserNameBytes();
Adding the @Override annotation indicates that the method is intended to override a method from a superclass or interface.
原文地址: http://www.cveoy.top/t/topic/iXAk 著作权归作者所有。请勿转载和采集!