dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.04k stars 257 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 1 month ago

appztr4ckt commented 1 month 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 1 month ago

does it still happen in 732?