Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't build server.jar #7705

Closed
LIMPIX31 opened this issue Apr 6, 2022 · 1 comment
Closed

I can't build server.jar #7705

LIMPIX31 opened this issue Apr 6, 2022 · 1 comment
Labels
resolution: duplicate Issue or Request is a copy of an existing ticket. type: bug Something doesn't work as it was intended to.

Comments

@LIMPIX31
Copy link

LIMPIX31 commented Apr 6, 2022

Expected behavior

The server will work

Observed/Actual behavior

I have accomplished:

  1. The file weighs twice as much as expected.
  2. The script crashes on startup with an error:
[21:15:25 ERROR]: Failed to load properties from file: server.properties
[21:15:25 INFO]: [STDERR]: java.lang.IncompatibleClassChangeError: Expecting non-static method 'java.lang.String net.minecraft.server.dedicated.DedicatedServerProperties.c(java.lang.String)'
[21:15:25 INFO]: [STDERR]:      at net.minecraft.server.dedicated.DedicatedServerProperties.<init>(DedicatedServerProperties.java:130)
[21:15:25 INFO]: [STDERR]:      at net.minecraft.server.dedicated.DedicatedServerProperties.fromFile(DedicatedServerProperties.java:137)
[21:15:25 INFO]: [STDERR]:      at net.minecraft.server.dedicated.DedicatedServerSettings.<init>(DedicatedServerSettings.java:19)
[21:15:25 INFO]: [STDERR]:      at net.minecraft.server.Main.main(Main.java:110)
[21:15:25 INFO]: [STDERR]:      at org.bukkit.craftbukkit.Main.main(Main.java:289)
[21:15:25 INFO]: [STDERR]:      at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42)
[21:15:25 INFO]: [STDERR]:      at java.base/java.lang.Thread.run(Thread.java:833)

Steps/models to reproduce

gradlew applyPatches
# Create my patches (successfully)
gradlew rebuildPatches
gradlew applyPatches
gradlew createReobfBundlerJar

Plugin and Datapack List

No

Paper version

1.18.2 Commit: 62dcff3

Other

I've been spending many hours trying to build a server jar file.

@LIMPIX31 LIMPIX31 added status: needs triage type: bug Something doesn't work as it was intended to. labels Apr 6, 2022
@Machine-Maker
Copy link
Member

Don't build on Windows. Use WSL (Windows Subsystem for Linux) if you don't have another operating system available. See FabricMC/tiny-remapper#87

@Machine-Maker Machine-Maker added resolution: duplicate Issue or Request is a copy of an existing ticket. and removed status: needs triage labels Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: duplicate Issue or Request is a copy of an existing ticket. type: bug Something doesn't work as it was intended to.
Projects
None yet
Development

No branches or pull requests

2 participants