Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Java Bukkit - import.


Rekomendowane odpowiedzi

Opublikowano

Witam, mam problem z pluginem a dokładnie z importami, nw co zrobiłem źle:
 

[23:38:11] [Server thread/ERROR]: Could not load 'plugins/Guild.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.Error: Unresolved compilation problems: 
The import org.kitteh cannot be resolved
The import org.kitteh cannot be resolved
org.kitteh cannot be resolved to a type
TagAPI cannot be resolved
TagAPI cannot be resolved
TagAPI cannot be resolved
TagAPI cannot be resolved
PlayerReceiveNameTagEvent cannot be resolved to a type
 
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-1361]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-1361]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-1361]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugins(CraftServer.java:356) [spigot.jar:git-Spigot-1361]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.reload(CraftServer.java:797) [spigot.jar:git-Spigot-1361]
at org.bukkit.Bukkit.reload(Bukkit.java:279) [spigot.jar:git-Spigot-1361]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:24) [spigot.jar:git-Spigot-1361]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1361]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchCommand(CraftServer.java:709) [spigot.jar:git-Spigot-1361]
at org.bukkit.craftbukkit.v1_7_R2.CraftServer.dispatchServerCommand(CraftServer.java:696) [spigot.jar:git-Spigot-1361]
at net.minecraft.server.v1_7_R2.DedicatedServer.ax(DedicatedServer.java:309) [spigot.jar:git-Spigot-1361]
at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:274) [spigot.jar:git-Spigot-1361]
at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:566) [spigot.jar:git-Spigot-1361]
at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:472) [spigot.jar:git-Spigot-1361]
at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1361]
Caused by: java.lang.Error: Unresolved compilation problems: 
The import org.kitteh cannot be resolved
The import org.kitteh cannot be resolved
org.kitteh cannot be resolved to a type
TagAPI cannot be resolved
TagAPI cannot be resolved
TagAPI cannot be resolved
TagAPI cannot be resolved
PlayerReceiveNameTagEvent cannot be resolved to a type
 
at net.guild.Main.<init>(Main.java:43) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_51]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_51]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_51]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_51]
at java.lang.Class.newInstance(Class.java:374) ~[?:1.7.0_51]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:52) ~[spigot.jar:git-Spigot-1361]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[spigot.jar:git-Spigot-1361]
... 14 more

35819730701466155056.png

 

 

PS: Jestem początkujący, dopiero się uczę JAVY.


Z góry za pomoc dziękuję!

Pomogłem Miałem Rację ?


 


Liczę na LIKE!


 


Jestem w trakcje tworzenia mojego servera Survival + Gildie (info wkrótce)

Opublikowano

Dodales TagAPI do biblioteczek projektu ? ( 43linja Main blad)

Dzięki, zapomniałem właśnie o tym, dlatego nie miało skąd importować. 

Do zamknięcia.

Pomogłem Miałem Rację ?


 


Liczę na LIKE!


 


Jestem w trakcje tworzenia mojego servera Survival + Gildie (info wkrótce)

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...