Hi, I created a Lucene application with patametrised indexing and searching functions. I exported as jar, and imoprted to jsp pages.
When I call the indexing function, it gives the following error: java.lang.VerifyError: Cannot inherit from final class. I did not make any inheritence, just called my result = hu.drehsden.test.IndexFiles.processDocs(indexPath, docPath); function withe the appropriate parameters. When I called my result = hu.drehsden.test.SearchFiles.processQuery(paramIndex, paramSearch); function, it had this problem: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory; Both functions work when I call them in Eclipse and return the result as String. Could you please help me? -- View this message in context: http://lucene.472066.n3.nabble.com/Java-function-throws-exception-on-JSP-web-application-tp4294431.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
