Development Assistance What i'm doing wrong

Discussion in 'Plugin Help/Development/Requests' started by dawgs_rules, Apr 18, 2016.

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


    Just try learn something new, but i keep get this Error message. I'm guess I don't know how to setup my Main Correctly,

    Error Message:

    Could not load 'plugins\Dawgs_rulesFirstplugin.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: Cannot find main class `me.plugin.dawgs_rulesMyFirstPlugin'

    Full Console Log:


    Screenshot of Package Explorer:
  2. when you setup the plugin.yml when,
    your main in the plugin.yml
    MUST be linked directly to the class that is the main class , your mistake was you linked it to the package that the main is in!
    so you would change it to :

    you missed a dot basically remember to check for spelling errors and incorect caps !
    Liam Townsley likes this.
  3. Offline


    I put me.plugin.dawgs_rules.MyFirstPlugin and did check for spelling errors.
    still got the same problem.
    Here the Error i got.
  4. Offline


  5. ah i see what you did ! , you have to link it to the package so it would be
Thread Status:
Not open for further replies.

Share This Page