dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.03k stars 259 forks source link

[Bug] NoClassDefFoundError: com/comphenix/protocol/CommandProtocol$1 on Paper 1.21.1 with ProtocolLib v5.3.0-SNAPSHOT-731 #3250

Open appztr4ckt opened 18 hours ago

appztr4ckt commented 18 hours ago

Describe the bug
When running ProtocolLib v5.3.0-SNAPSHOT-731 on Paper 1.21.1, the server throws a NoClassDefFoundError for com/comphenix/protocol/CommandProtocol$1. This error occurs shortly after starting the server.

To Reproduce
Steps to reproduce the behavior:

  1. Install Paper 1.21.1.
  2. Add ProtocolLib v5.3.0-SNAPSHOT-731 to the plugins folder.
  3. Start the server.
  4. Observe the error in the console.

Expected behavior
ProtocolLib should load correctly without throwing class definition errors.

Screenshots
(Not applicable in this case, as it's a console error.)

Additional context
The issue seems to be related to a missing class in the ProtocolLib jar (com/comphenix/protocol/CommandProtocol$1). This might be due to a version mismatch or an incomplete build.

dmulloy2 commented 18 hours ago

does it still happen in 732?