Jar contains no plugin.yml

Discussion in 'Plugin Development' started by mythridleg35, Nov 13, 2014.

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

    mythridleg35

    Im having this problem when trying to follow the new tutorial (Since the old way i did it dose not seem to work anymore) and everytime i export it and run it, it says could not find plugin.yml... any ideas.

    Code:
    [17:01:27 ERROR]: Could not load 'plugins/PixleLifePlugin-0.0.1-SNAPSHOT.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:152) ~[craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:864) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.Bukkit.reload(Bukkit.java:301) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:767) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(CraftServer.java:753) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:326) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:290) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    i have attached a file showing the plugin.yml inside the plugin but it is not being read

    [​IMG]
     

    Attached Files:

  2. Offline

    Skionz

    Post the image on imgur please. That website is blocked for me.
     
  3. Offline

    mythridleg35

    [​IMG]
    There you go
     
  4. Tutorial? I have prepared a premade one for you :)

    Here it is http://hastebin.com/hofifikezi.sm
     
  5. Offline

    Skionz

    The plugin.yml should be up one level.
     
  6. Offline

    fireblast709

    FerusGrim likes this.
  7. Offline

    mythridleg35

    I feel like a mong xD thanks man, i was sat hear for 3 hours and it was a bluddy comma i put xD
     
  8. Offline

    FerusGrim

    Welcome to programming, where the fucking things have the gall to do exactly what we tell them to do, rather than what we want them to do.

    Pricks.
     
    Gamecube762 likes this.
Thread Status:
Not open for further replies.

Share This Page