I am running code from repository https://github.com/google/fhir/tree/master/examples/tensorflow.
I'm experiencing the following error using version 3.6.1 of protoc: Caused by: java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$FileDescriptor.internalBuildGeneratedFileFrom([Ljava/lang/String;[Lcom/google/protobuf/Descriptors$FileDescriptor;)Lcom/google/protobuf/Descriptors$FileDescriptor; at com.google.fhir.proto.Annotations.<clinit>(Annotations.java:908) at com.google.fhir.stu3.proto.Resources.<clinit>(Resources.java:12056) at com.google.fhir.stu3.proto.ContainedResource.getDescriptor(ContainedResource.java:1710) at com.google.fhir.common.JsonFormat$Parser.createResourceTypes(JsonFormat.java:892) at com.google.fhir.common.JsonFormat$Parser.<clinit>(JsonFormat.java:887) at com.google.fhir.common.JsonFormat.getParser(JsonFormat.java:594) at com.google.fhir.examples.SyntheaToTFRecordsMain$ParseBundleFn.processElement(SyntheaToTFRecordsMain.java:61) Then I installed protobuf with version 3.7, 3.8, 3.9, 3.10 and 3.11, but I still got this problem. I can not downgrade the protobuf because the repository uses TensorFlow which has requirement protobuf>=3.6.1. Does anyone have idea? Thanks, Iris -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/7c364cff-c39a-41ce-ac47-b623d7b87bd6%40googlegroups.com.
