File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes NoSuchMethodError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NoSuchMethodError" Watch "NoSuchMethodError" New topic


Jing Liang
Ranch Hand

Joined: Oct 23, 2006
Posts: 40
I have received Exception in thread "main" java.lang.NoSuchMethodError: FamilyTree.grandchildren when runing my code.

In my FamilyTree.class, I did write a grandchildren() method, I don't understand why is it saying no such method.

In order to run the FamilyTree.class, just compiled the and download Record, Person.class, Main.class and Birthday.class from

In the console type in java Main restore

Please help me out? Thanks

I agree. Here's the link:
subject: NoSuchMethodError
It's not a secret anymore!