dcsimg
java.lang.NoSuchMethodError
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Micky_Oestreich
Posted On:   Friday, June 8, 2001 06:55 AM

Compiling the source is no problem but when trying to run the programm (afbeelding.class) the following message occurs :

Exception in thread "main" java.lang.NoSuchMethodError: main

Question : What to do?

I Haven't been able (yet) to find a similar question in the database.

Re: java.lang.NoSuchMethodError

Posted By:   Anonymous  
Posted On:   Friday, June 8, 2001 08:24 AM

You're missing a

public static void main(String[] args)

method.



Can't run an application without it.



Check http://java.sun.com/docs/books/tutorial/getStarted/application/main.html
About | Sitemap | Contact