the doc here <https://nightlies.apache.org/flink/f...
# troubleshooting
p
the doc here https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/connectors/table/formats/protobuf/ says:
Then compile and package the classes (there is no need to package proto-java into the jar)
but if not bundling it, I am seeing:
Caused by: java.lang.ClassNotFoundException: com.google.protobuf.MessageOrBuilder
and if trying to bundle (same version as
com.google.protobuf:protobuf-java:3.21.7
)
Copy code
Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 41
Exception Details:
  Location:
    org/apache/flink/formats/protobuf/serialize/GeneratedRowToProto_3e0fdff328084dca9ce30c73110655d2.encode(Lorg/apache/flink/table/data/RowData;)Lcom/google/protobuf/AbstractMessage
any advice from dealing with this type of conflict? using this format with kafka connector
I'm using flink sql api using either
flink-sql-protobuf
or
flink-protobuf
in lib yields similar VerifyError
if it helps, I needed to add
JVM_ARGS="-noverify -Xverify:none"