tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subhrajyoti Moitra" <smoi...@sapient.com>
Subject RE: lucene+Tomcat
Date Wed, 01 Jun 2005 07:50:16 GMT
Are u sure lucene-1.4.3.jar is in the WEB-INF/lib directory? U don't
need to put this jar in $CLASSPATH variable explicitly.

-Subhro.

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org] 
Sent: Tuesday, May 31, 2005 9:59 PM
To: Tomcat Users List
Subject: Re: lucene+Tomcat

I think the lucene list might be of more help

-Tim

Zakaria KHABOT wrote:

> hi all,
> I try to display the demo example of lucene.
> I am using tomcat 5.5.4. Index.jsp is displayed but when I click 
> "search" I encountred this message error :
> I have put  ' lucene-1.4.3.jar and lucene-demos-1.4.3.jar' in the 
> classPath. Thanks for all
> 
> org.apache.jasper.JasperException: Unable to compile class for
JSPNote: 
> sun.tools.javac.Main has been deprecated.
> 
> D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:6: 
> Package org.apache.lucene.analysis not found in import.
> import  org.apache.lucene.analysis.*;
>        ^
> 
> D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:7: 
> Package org.apache.lucene.document not found in import.
> import  org.apache.lucene.document.*;
>        ^
> 
> D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:8: 
> Package org.apache.lucene.index not found in import.
> import  org.apache.lucene.index.*;
>        ^
> 
> D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:9: 
> Package org.apache.lucene.search not found in import.
> import  org.apache.lucene.search.*;
>        ^
> 
> D:\eclipse\workspace\PFE\work\org\apache\jsp\html\results$jsp.java:10:

> Package org.apache.lucene.queryParser not found in import.
> import  org.apache.lucene.queryParser.*;
>        ^
> 5 errors, 1 warning
> 
>     org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
>     org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spServlet.java:177) 
> 
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:189) 
> 
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)

> 
>     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 

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


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


Mime
View raw message