File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General 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 » Java in General
Bookmark "NoSuchMethodError" Watch "NoSuchMethodError" New topic
Author

NoSuchMethodError

peter greaves
Ranch Hand

Joined: Sep 27, 2002
Posts: 51
grrr... cost me an hour staring at this before i realised that the method was the constructor...i was doing something like this:

and kept getting NoSuchMethodError at runtime. was looking at all sorts of reasons in method calls. but the problem was occuring because i had not declared a no-args constructor!! the "method" that was not there was the constructor ().
a painful lesson
peter


SJCP 1.2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NoSuchMethodError