Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError with com.google.protobuf #126

Open
Richardxxxxxxx opened this issue Mar 29, 2019 · 0 comments
Open

NoSuchMethodError with com.google.protobuf #126

Richardxxxxxxx opened this issue Mar 29, 2019 · 0 comments

Comments

@Richardxxxxxxx
Copy link

Richardxxxxxxx commented Mar 29, 2019

Hi,
I came across the same issue with #104 when using spark-submit to generate TFRecords.

I analysis the dependency using 'mv dependency:tree' command and 100% sure there is only one version of protobuf-java within my project.

protobuf-java: 3.5.1
tensorflow-hadoop: 1.13.1

 java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
at com.google.protobuf.GeneratedMessageV3$FieldAccessorTable.<init>(GeneratedMessageV3.java:1727)
at org.tensorflow.example.FeatureProtos.<clinit>(FeatureProtos.java:105)
at org.tensorflow.example.Features$FeatureDefaultEntryHolder.<clinit>(Features.java:103)

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant