On Mon, 3 Jul 2006, mcarcelen wrote:
> I´ve used the classes "org.apache.poi.hslf.extractor.PowerPointExtractor"
> and "org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor" with
> lucene2.0 to extract text but when I try to use the other classes such as
> "org.apache.poi.hslf.HSLFSlideShow", "org.apache.poi.hslf.record.Record" I
> get the following error [Exception in thread "main"
> java.lang.NoSuchMethodError:main]
FYI - you will probably have more luck asking on poi-users, rather than
here
As for your problem, are you trying to execute
"org.apache.poi.hslf.HSLFSlideShow"? If so, that's your problem. The only
HSLF classes with main methods (i.e. that you can directly call) are the
two extractor ones.
Nick
|