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

Next to impossible to roll your own build due to no docs being available #91

Closed
ytcalifax opened this issue Mar 24, 2024 · 2 comments
Closed

Comments

@ytcalifax
Copy link

ytcalifax commented Mar 24, 2024

As stated, there is literally zero information available on how to build a proper, runnable .JAR file that you can use in a server. Every single time I attempt to run the server after running "gradlew clonePaperRepo" then "gradlew getPaperUpstreamData" and then "gradlew build", a nonworking file with just a MANIFEST appears. If I then run "gradlew createReobfPaperclipJar" or "gradlew createReobfBundlerJar" I do get a working .JAR, but every single time I run it I get this, even with ZERO edits being done. Can someone explain how to generate a proper working file? Or even better yet, is there any possibility for some docs to be created?:

Starting org.bukkit.craftbukkit.Main
Exception in thread "ServerMain" java.lang.ClassNotFoundException: org.bukkit.craftbukkit.Main
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:467)
        at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:38)
        at java.base/java.lang.Thread.run(Thread.java:842)
@kev626
Copy link
Member

kev626 commented Mar 24, 2024

You're supposed to build with ./gradlew createReobfPaperclipJar.

@ytcalifax
Copy link
Author

Yes, I managed to figure it out after a few hours of trying by following what the Paper repo instructs users to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants