Could not load

Discussion in 'Plugin Development' started by atheera, Feb 8, 2021.

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

    atheera

    Hi I just started making my own plugin but it just says: "org.bukkit.plugin.InvalidDescriptionException: commands are of wrong type" in latest.log when I try to run it...

    Here is my plugin.yml:
    https://pastebin.com/WJyUwxbv

    And here is my main file:
    https://pastebin.com/aPecMTHe

    And the latest.log:
    https://pastebin.com/tXfcas2m

    Okay I got rid of that error I had.
    But now it says: "org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/atheera/mcmmorpg/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
    How do I go about fixing that?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 8, 2021
  2. Offline

    Strahan

    It says it right there in the error. You compiled it with Java 11 but the server is running on Java 8. Either upgrade the server Java or compile with 8.
     
  3. Offline

    atheera

    Yeah that much I understood, but how is a different story..
    EDIT: nvm, I fixed it!
     
    Last edited: Feb 9, 2021
  4. Offline

    Kars

    Then you should use Google before you ask trivial questions.
     
Thread Status:
Not open for further replies.

Share This Page