so im guessing no one knows how to fix?
|
|
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 . . .


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.

Code:public static void main(String[] var) { // }

Please don't guess..
@OP: You have no main method. Do you expect Java to magically pick out what method runs the server?
Lesson: A Closer Look at the "Hello World!" Application (The Java™ Tutorials > Getting Started)
| « Null | really small error annoying me » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |