Skip to content

Protobuf from bundled MySQL connector conflicts with newer gencode #13835

Description

@vjh0107

Expected behavior

Plugin's resolved protobuf-java:4.34.0 is used at runtime, satisfying Protobuf's runtime >= gencode rule

Observed/Actual behavior

Paper's bundled protobuf-java:4.29.0 takes precedence, throwing:
Image

Steps/models to reproduce

Plugin depends on a library with Protobuf gencode ≥ 4.30 (e.g., micrometer-registry-otlp).

Plugin and Datapack List

(My plugin with Protobuf only)

[07:25:35 INFO]: [PluginInitializerManager] Paper plugins (1):

  • gameserver_lobby (1.0.0-SNAPSHOT)

Paper version

[07:25:40 INFO]: This server is running Paper version 1.21.11-128-ver/1.21.11@1fdbce1 (2026-04-04T20:51:11Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)

Other

I hope Paper don't provide Mysql connector as a transitive dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions