lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Pendlebury <greg.pendleb...@gmail.com>
Subject Re: Embedded Solr constructor not returning
Date Wed, 06 Apr 2011 23:01:28 GMT
>> Sounds good.  Please go ahead and make this change yourself.

Done.

Ta,
Greg

On 6 April 2011 22:52, Steven A Rowe <sarowe@syr.edu> wrote:

> Hi Greg,
>
> > I need the servlet API in my app for it to work, despite being command
> > line.
> > So adding this to the maven POM fixed everything:
> >         <dependency>
> >             <groupId>javax.servlet</groupId>
> >             <artifactId>servlet-api</artifactId>
> >             <version>2.5</version>
> >         </dependency>
> >
> > Perhaps this dependency could be listed on the wiki? Alongside the sample
> > code for using embedded solr?
> > http://wiki.apache.org/solr/Solrj
>
> Sounds good.  Please go ahead and make this change yourself.
>
> FYI, the Solr 3.1 POM has a servlet-api dependency, but the scope is
> "provided", because the servlet container includes this dependency.  When
> *you* are the container, you have to provide it.
>
> Steve
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message