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 <[EMAIL PROTECTED]>

>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best Regards
Alexander Aristov

Reply via email to