Re: [ERR] Only a type can be imported

2009-12-06 Thread Simon Willnauer
Ghazal, could you please resend you messages to java-users. this is a development list only. If you do so you should also explain a bit more what you are trying to do with lucene. simon On Sun, Dec 6, 2009 at 11:47 AM, Ghazal Gharooni wrote: > Hello, > I notified that QueryParser accept three a

Re: [ERR] Only a type can be imported

2009-12-06 Thread Ghazal Gharooni
Hello, I notified that QueryParser accept three argument while the code only includes two arguments. I've changed the qp = new QueryParser("contents", analyzer); to this one: qp = new QueryParser(Version.LUCENE_CURRENT,"contents", analyzer); However, I still have the previous errors. Please help m

[ERR] Only a type can be imported

2009-12-06 Thread Ghazal Gharooni
Hello, I got the following error while trying to test Search Criteria. I added all jar files to class path. Please somebody help me to get through this issue. ERROR: -- Apache Tomcat/5.5.9 - Error report org.apache.jasper.JasperException: Unable to compile