Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.0.0
-
None
-
Windows XP Pro and Linux (Ubuntu 6.06 TLS)
Tomcat 5.5
Sun Java 1.5_07
Description
results.jsp in luceneweb.war demo throws JasperException:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 60 in the jsp file: /results.jsp
Generated servlet error:
The method parse(String) in the type QueryParser is not applicable for the arguments (String, String, Analyzer)
I think, the code in line 81 of results.jsp should maybe look like the following ?
QueryParser qp = new QueryParser("contents", analyzer);
query = qp.parse(queryString);