Thread: [ERROR]java.lang.NoSuchMethodError[ERROR] plz help

Results 1 to 7 of 7
  1. #1 [ERROR]java.lang.NoSuchMethodError[ERROR] plz help 
    Registered Member Jattio's Avatar
    Join Date
    Oct 2009
    Age
    26
    Posts
    532
    Thanks given
    8
    Thanks received
    5
    Rep Power
    54
    ok people i get this one small error when compiling, i have never known of this error before so i feel stupid to ask how to fix it :/

    mainly because ive never hade a "main" error so idk what that is

    Code:
    Running Valor-Gaming.
    Version: BETA
    *******************
    Exception in thread "main" java.lang.NoSuchMethodError: main
    Press any key to continue . . .

    Reply With Quote  
     

  2. #2  
    Registered Member Jattio's Avatar
    Join Date
    Oct 2009
    Age
    26
    Posts
    532
    Thanks given
    8
    Thanks received
    5
    Rep Power
    54
    so im guessing no one knows how to fix?

    Reply With Quote  
     

  3. #3  
    Registered Member
    Auruo's Avatar
    Join Date
    Mar 2008
    Age
    29
    Posts
    749
    Thanks given
    20
    Thanks received
    15
    Rep Power
    499
    No Such Method Error: main
    Not difficult to see what its saying. Sounds like you messed something up probably unintentionally. Nobody can help you with it since we can't see your files.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Sep 2008
    Posts
    2,219
    Thanks given
    148
    Thanks received
    204
    Rep Power
    1570
    Code:
    public static void main(String[] var) {
    	//
    }
    Reply With Quote  
     

  5. #5  
    Registered Member
    Auruo's Avatar
    Join Date
    Mar 2008
    Age
    29
    Posts
    749
    Thanks given
    20
    Thanks received
    15
    Rep Power
    499
    Quote Originally Posted by Aeterna View Post
    Code:
    public static void main(String[] var) {
    	//
    }
    My guess is he left out a bracket or deleted it or commented it out.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by Auruo View Post
    No Such Method Error: main
    Not difficult to see what its saying. Sounds like you messed something up probably unintentionally. Nobody can help you with it since we can't see your files.
    Please don't guess..

    @OP: You have no main method. Do you expect Java to magically pick out what method runs the server?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member
    Auruo's Avatar
    Join Date
    Mar 2008
    Age
    29
    Posts
    749
    Thanks given
    20
    Thanks received
    15
    Rep Power
    499
    Quote Originally Posted by Colby View Post
    Please don't guess..

    @OP: You have no main method. Do you expect Java to magically pick out what method runs the server?
    [Only registered and activated users can see links. ]
    Guessing is better than no help at all & prior to my guess/bump no one had said anything and probably never would have. tah-dah.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •