My Plugin Has An Error: JavaPlugin.class, Runnable.class

Discussion in 'Plugin Development' started by JordanPlayz158, Sep 11, 2016.

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

    JordanPlayz158

    So I Can't Build The Project And These Are The Errors:

    Sorry For The Music I Didn't Know It Would Get In The Video
    Java Plugin Error (PasteBin): http://pastebin.com/tfj0fjk8
     
  2. @JordanPlayz158 Poat your code and proper stacktrace, no ide where you got that error from. Seems like a decompiled class from Eclipse.
     
    Last edited: Sep 12, 2016
  3. @JordanPlayz158
    These are pure bytecode instructions, which I have no clue how you got your hands on. Anyways, post your actual code, since this the video doesn't work, and tell us which lines have errors.
     
  4. Offline

    JordanPlayz158

  5. Offline

    timtower Administrator Administrator Moderator

    @JordanPlayz158 1. The first file has no use for developing, curious how you even got tha.
    2. Post your full source code.
     
  6. Offline

    JordanPlayz158

  7. Offline

    timtower Administrator Administrator Moderator

    @JordanPlayz158 Now, where is the error.
    And please don't direct us to that bytecode again.
     
  8. Offline

    JordanPlayz158

  9. Offline

    Zombie_Striker

    @JordanPlayz158
    There does not seem to be anything wrong with your code (besides the names you choose for your fields. If P represents a prefix, it should be called 'prefix').

    Can you post which lines exactly are giving you an error? If they are underlined red in the IDE, post what the error messages say. If an error is printed in the console, print out the full server log.
     
    timtower likes this.
  10. Offline

    JordanPlayz158

  11. Offline

    Zombie_Striker

    @JordanPlayz158
    I think it wants you to add the @override tag. Are you using something else besides eclipse and inteliJ, because I have never run into this issue before.
     
  12. Offline

    JordanPlayz158

    Okay I Will Try The @override tag but what is "inteliJ"?
     
  13. @JordanPlayz158
    IntelliJ is an IDE (program you use to develop Java programs). Are you using eclipse instead?
     
Thread Status:
Not open for further replies.

Share This Page