What does this error in the console mean?

Discussion in 'Plugin Development' started by BrushPainter, Mar 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    BrushPainter

    Code:java
    1. 09.03 13:34:53 [Server] INFO ... 9 more
    2. 09.03 13:34:53 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    3. 09.03 13:34:53 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    4. 09.03 13:34:53 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    5. 09.03 13:34:53 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    6. 09.03 13:34:53 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    7. 09.03 13:34:53 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    8. 09.03 13:34:53 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:235) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    9. 09.03 13:34:53 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:257) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    10. 09.03 13:34:53 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    11. 09.03 13:34:53 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:176) ~[craftbukkit_dev_2995.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks]
    12. 09.03 13:34:53 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    13. 09.03 13:34:53 [Server] ERROR Could not load 'plugins/MenuServiceAPI.jar' in folder 'plugins'
    14. 09.03 13:34:53 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2995jnks (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
    15. 09.03 13:34:53 [Server] INFO Starting Minecraft server on 198.12.123.231:25565
     
  2. BrushPainter
    Well you could look at the second line of the error, which clearly explains what's wrong.
     
  3. Offline

    BrushPainter

    Assist Yeah I know, but my plugins contain the plugin.ymls, I really can't figure it out... Here's my build path:
    [​IMG]

    Assist Also, every time I export a jar from eclipse I've been getting this error since my plugins have stopped working:
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  4. BrushPainter
    It's a warning, not an error. You probably have some unused imports, variables etc in your code.

    As for your original problem, the error is referring to a jar called MenuServiceAPI(.jar), is that one of your plugins? If so, make sure it contains the plugin.yml file.
     
  5. Offline

    BrushPainter

    Assist Oh wow, I swear, I'm the only one who has access to my console and I know %100 I never installed that, yet when I went to Bukget's currently installed it was there. o.o
     
  6. BrushPainter
    Well in that case, delete it from your plugins folder. I would recommend you to
    1. Open the jar with a tool such as 7zip or WinRAR, and see if it holds any external executables.
    2. decompile the jar and see what it does.
    3. Scan it for viruses.
     
  7. Offline

    BrushPainter

    Assist Alright man, thanks, I'll try that now.
     
Thread Status:
Not open for further replies.

Share This Page