lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "叶双明" <yeshuangm...@gmail.com>
Subject Re: Web Application Indexing Error
Date Tue, 09 Sep 2008 10:20:53 GMT
use classpath!

2008/9/9 Alexander Aristov <alexander.aristov@gmail.com>

> Hi
>
> Build path and classpath at runtime are different matters. Where do you run
> your servlet, in which container.
>
> Mainly all servlet containers should add all libraries located under
> WEB-INF/lib, so you must place your lucene jar files there.
>
> Alex
>
> 2008/9/9 VikramIyer <vikram85.iyer@gmail.com>
>
> >
> > Hi,
> >
> >   Web application consists of one Servlet that calls a Java class with
> > lucene libraries(imports) which performs the task of indexing. However
> upon
> > class invocation from the doPost() in the servlet I get this error
> >
> > exception
> >
> >          javax.servlet.ServletException: Servlet execution threw an
> > exception
> >
> > cause
> >          java.lang.NoClassDefFoundError:
> > org/apache/lucene/document/Fieldable
> >                com.luceneweb.WebIndexer.doPost(WebIndexer.java:45)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> > I have the lucene-core-2.3.2.jar configured in my build path.Not sure if
> > any
> > other jar's are missing
> > --
> > View this message in context:
> >
> http://www.nabble.com/Web-Application-Indexing-Error-tp19385951p19385951.html
> > Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
>
>
> --
> Best Regards
> Alexander Aristov
>



-- 
Sorry for my english!! 明
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message