Hello -

I tried to modify Document(File) method as Document1(String) of 
HTMLDocument.java. The parameter is String, not File. However I got: 

Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.lucene.demo.HTMLDocument.Document1(Ljava/lang/String;)Lorg/apache/lucene/document/Document;
        at 
org.apache.lucene.demo.IndexRemoteHTML.indexDocs1(IndexRemoteHTML.java:173)
        at 
org.apache.lucene.demo.IndexRemoteHTML.indexDocs(IndexRemoteHTML.java:120)
        at org.apache.lucene.demo.IndexRemoteHTML.main(IndexRemoteHTML.java:74)

What could be wrong?

Thanks for help in advance...

George


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to