com.squareup.wire.schema.SchemaException

multiple fields share tag 1: 1. field (message.proto at 3:3) 2. field_again (message.proto at 4:3) for message Message (message.proto at 2:1)

Solutions on the web1

  • via GitHub by swankjesse
    , 1 year ago
    multiple fields share tag 1: 1. field (message.proto at 3:3) 2. field_again (message.proto at 4:3) for message Message (message.proto at 2:1)
  • Stack trace

    • com.squareup.wire.schema.SchemaException: multiple fields share tag 1: 1. field (message.proto at 3:3) 2. field_again (message.proto at 4:3) for message Message (message.proto at 2:1) at com.squareup.wire.schema.Linker.link(Linker.java:119) at com.squareup.wire.schema.SchemaLoader.loadFromDirectories(SchemaLoader.java:167) at com.squareup.wire.schema.SchemaLoader.load(SchemaLoader.java:106) at com.squareup.wire.schema.SchemaBuilder.build(SchemaBuilder.java:63) at com.squareup.wire.java.JavaGeneratorTest.generateProtoFields(JavaGeneratorTest.java:52)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.