aspose file tools
The moose likes Beginning Java and the fly likes java.lang.NoSuchMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.NoSuchMethodError" Watch "java.lang.NoSuchMethodError" New topic


Anthony Smith
Ranch Hand

Joined: Sep 10, 2001
Posts: 285
Exception in thread "main" java.lang.NoSuchMethodError: main
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
This exce^tion is thrown because you don't have a correct method main() in your application,even if you don't have a method main you compile whithout problem but it will not guarantee you can run it :

public class abc {
public static void main(String args[]) {
System.out.println("now OK");
Have you tried LearnNowOnline?
subject: java.lang.NoSuchMethodError