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

Error on startup with latest version #6930

Closed
MilesBHuff opened this issue Aug 16, 2023 · 1 comment · Fixed by #6931
Closed

Error on startup with latest version #6930

MilesBHuff opened this issue Aug 16, 2023 · 1 comment · Fixed by #6931

Comments

@MilesBHuff
Copy link

What steps will reproduce the problem?

  1. Plop latest Towny JAR into plugins/ directory.
  2. Use my configs (see https://github.com/SettleScape/server/tree/master/minecraft/plugins/Towny/)
  3. Start server

What is the expected output?

No error is expected.

Towny version

v0.99.5.11

Server version

Paper version git-Paper-411 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 6625db3 on ver/1.17.1)

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: https://gist.github.com/MilesBHuff/8d4e01a754b7a763a98c565e7438431f
  2. Your Towny config.yml: https://github.com/SettleScape/server/blob/master/minecraft/plugins/Towny/settings/config.yml
  3. Your townyperms.yml: https://github.com/SettleScape/server/blob/master/minecraft/plugins/Towny/settings/townyperms.yml
  4. Your log's error:
[14:36:23] [Server thread/INFO]: [Towny] Enabling Towny v0.99.5.11
[14:36:23] [Server thread/INFO]: ====================      Towny      ========================
[14:36:23] [Server thread/INFO]: [Towny] Config: 0.98.3.4 applying 1 automatic update...
[14:36:23] [Server thread/INFO]: [Towny] Config: 0.98.3.13 applying 8 automatic updates...
[14:36:24] [Server thread/INFO]: [Towny] Successfully loaded translations for 42 languages.
[14:36:24] [Server thread/INFO]: [Towny] Config: Loaded 9 townblock types: shop, inn, arena, jail, default, bank, wilds, farm, embassy.
[14:36:24] [Server thread/INFO]: [Towny] Database: [Load] flatfile [Save] flatfile
[14:36:24] [Server thread/ERROR]: Error occurred while enabling Towny v0.99.5.11 (Is it up to date?)
java.lang.NoClassDefFoundError: org/apache/commons/lang3/Validate
	at com.palmergames.bukkit.towny.object.Position.deserialize(Position.java:146) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.db.TownyFlatFileSource.loadTown(TownyFlatFileSource.java:845) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.db.TownyDataSource.loadTowns(TownyDataSource.java:200) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.db.TownyDataSource.loadAll(TownyDataSource.java:53) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.TownyUniverse.loadDatabase(TownyUniverse.java:192) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.TownyUniverse.loadAndSaveDatabase(TownyUniverse.java:148) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.Towny.loadFoundation(Towny.java:245) ~[Towny.jar:?]
	at com.palmergames.bukkit.towny.Towny.onEnable(Towny.java:139) ~[Towny.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:561) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:475) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:733) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:317) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[patched_1.17.1.jar:git-Paper-411]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-411]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.Validate
	at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[patched_1.17.1.jar:git-Paper-411]
	at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[patched_1.17.1.jar:git-Paper-411]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	... 18 more
[14:36:24] [Server thread/INFO]: [Towny] Disabling Towny v0.99.5.11
[14:36:24] [Server thread/INFO]: ==============================================================
[14:36:24] [Server thread/INFO]: [Towny] Finishing File IO Tasks...
[14:36:24] [Server thread/INFO]: [Towny] Finishing Universe Tasks...
[14:36:24] [Server thread/INFO]: [Towny] Version: 0.99.5.11 - Plugin Disabled

(optional) If this is to do with permissions,
5. Your permissions file: https://github.com/SettleScape/server/tree/master/minecraft/plugins/LuckPerms/yaml-storage/groups

(optional) If this is to do with chat,
6. Your chatconfig.yml: https://github.com/SettleScape/server/blob/master/minecraft/plugins/Towny/settings/ChatConfig.yml
7. Your channels.yml: https://github.com/SettleScape/server/blob/master/minecraft/plugins/Towny/settings/Channels.yml

@MilesBHuff MilesBHuff added the bug label Aug 16, 2023
@LlmDl LlmDl added this to the 0.99.6.0 milestone Aug 16, 2023
@MilesBHuff
Copy link
Author

Thank you!

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

Successfully merging a pull request may close this issue.

2 participants