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

DurationFormatUtils class is missing from the mod jar #40

Closed
3 tasks done
Eatham532 opened this issue Jun 30, 2022 · 2 comments · Fixed by #43
Closed
3 tasks done

DurationFormatUtils class is missing from the mod jar #40

Eatham532 opened this issue Jun 30, 2022 · 2 comments · Fixed by #43
Labels
bug Something isn't working minecord-api Improvements or additions to the api module

Comments

@Eatham532
Copy link

Expected behavior

irk

The server does not crash. I just get this error.

Observed/actual behavior

Got the error:

[16:44:23] [Minecord-Presence-Timer/ERROR]: Uncaught exception in thread "Minecord-Presence-Timer"
java.lang.NoClassDefFoundError: me/axieum/mcmod/minecord/shadow/api/org/apache/commons/lang3/time/DurationFormatUtils
at Not Enough Crashes deobfuscated stack trace.(1.19+build.4) ~[?:?]
at me.axieum.mcmod.minecord.api.util.StringTemplate.format(StringTemplate.java:269) ~[minecord-api-1.0.0-beta.2-334e7ed5a4687c1b.jar:?]
at me.axieum.mcmod.minecord.impl.presence.config.PresenceConfig$CategorySchema$PresenceSchema$1.getActivity(PresenceConfig.java:142) ~[minecord-presence-1.0.0-beta.2-b3c770a51ebc8da7.jar:?]
at me.axieum.mcmod.minecord.impl.presence.PresenceUpdateTask.run(PresenceUpdateTask.java:96) ~[minecord-presence-1.0.0-beta.2-b3c770a51ebc8da7.jar:?]
at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:?]
at java.util.TimerThread.run(Timer.java:516) ~[?:?]
Caused by: java.lang.ClassNotFoundException: me.axieum.mcmod.minecord.shadow.api.org.apache.commons.lang3.time.DurationFormatUtils
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.8.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
... 5 more

Steps/models to reproduce

Add the mod to your server.

Look at the logs.

Version

1.0.0 beta 2

Agreements

  • I am running the latest version of the mod.
  • My version of Minecraft is supported.
  • I have searched for and ensured there isn't already an open issue regarding this.

Other

No response

@axieum axieum changed the title [Bug] Got an error while starting the server DurationFormatUtils class is missing from the mod jar Jul 1, 2022
@axieum axieum added bug Something isn't working minecord-api Improvements or additions to the api module labels Jul 1, 2022
@axieum axieum closed this as completed in 9c107f3 Jul 1, 2022
@axieum
Copy link
Owner

axieum commented Jul 2, 2022

Hi @Eatham532, there are a few things I need to fix with the publishing of these shadow jars. In the meantime, you can download the mod jars from here: https://github.com/axieum/minecord/suites/7179538609/artifacts/286386638

@Eatham532
Copy link
Author

Eatham532 commented Jul 2, 2022

Thank you! The link is a 404 by the way

Edit: Nevermind

This was referenced Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minecord-api Improvements or additions to the api module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants