lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: luceneweb: 500 Exception with results.jsp "parse(java.lang.String)"
Date Fri, 16 Jun 2006 02:11:30 GMT
Ron,

This issue was corrected just after the release of 2.0.  You can grab  
a new results.jsp from Subversion or download it from here:

	<http://svn.apache.org/viewvc/lucene/java/trunk/src/jsp/results.jsp? 
revision=410678&view=markup>

Erik


On Jun 15, 2006, at 9:48 PM, Ron Parker wrote:

> Just installed Lucene 2.0.0, java version "1.4.2_10", Resin-3.0.18.
>
> The test index and query from the command line (http:// 
> lucene.apache.org/java/docs/demo.html) work successfully.  I  
> dropped the lucene.war into my Resin webapps directory and it  
> created the luceneweb directory.
>
> When I navigate to the luceneweb web application and enter a  
> search, I get this error:
>
> 500 Servlet Exception
>
> /results.jsp:60: parse(java.lang.String) in  
> org.apache.lucene.queryParser.QueryParser
> cannot be applied to  
> (java.lang.String,java.lang.String,org.apache.lucene.analysis.Analyzer 
> )
>                        query = QueryParser.parse(queryString,  
> "contents", analyzer); //parse the
>                                           ^
> Note: /var/www/resin-3.0.18/webapps/luceneweb/WEB-INF/work/_jsp/ 
> _results__jsp.java
> uses or overrides a deprecated API.
> Note: Recompile with -deprecation for details.
> 1 error
>
> Haven't a clue as to how to correct.  Could someone please help?   
> Thanks.
>
> -ron
>
> -- 
> Ron Parker
> Software Creations               http://www.scbbs.com
> Self-Administration Web Site     http://saw.scbbs.com
> SDSS Subscription Mgmt Service   http://sdss.scbbs.com
> Central Ave Dance Ensemble       http://www.centralavedance.com
> R & B Salsa                      http://www.randbsalsa.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message