com.dsh105.holoapi.libs.command.exception.InvalidCommandException: HoloAPI has attempted to register an invalid command (com.dsh105.holoapi.command.HoloCommand -> debug). Either: Provide a value for "parentCommand" in the annotation, OR add the @Command annotation to the CommandListener class.


Solutions on the web

Solution icon of github
via GitHub by Jikoo
, 9 months ago
HoloAPI has attempted to register an invalid command (com.dsh105.holoapi.command.HoloCommand -> debug). Either: Provide a value for "parentCommand" in the annotation, OR add the @Command annotation to the CommandListener class.

Stack trace

com.dsh105.holoapi.libs.command.exception.InvalidCommandException: HoloAPI has attempted to register an invalid command (com.dsh105.holoapi.command.HoloCommand -> debug). Either: Provide a value for "parentCommand" in the annotation, OR add the @Command annotation to the CommandListener class.
	at com.dsh105.holoapi.libs.command.SimpleCommandManager.nestCommandsIn(SimpleCommandManager.java:275)[?:?]
	at com.dsh105.holoapi.libs.command.SimpleCommandManager.nestCommandsIn(SimpleCommandManager.java:244)[?:?]
	at com.dsh105.holoapi.HoloAPICore.loadCommands(HoloAPICore.java:183)[?:?]
	at com.dsh105.holoapi.HoloAPICore.onEnable(HoloAPICore.java:116)[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)[spigot.jar:git-Spigot-1591]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329)[spigot.jar:git-Spigot-1591]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)[spigot.jar:git-Spigot-1591]
	at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476)[spigot.jar:git-Spigot-1591]
	at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458)[spigot.jar:git-Spigot-1591]
	at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)[spigot.jar:git-Spigot-1591]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.