Did you try following:
<lib dir="./lib" />

I think the path you specify here is relative to your SOLR_HOME directory,
which in example's case would be "example/solr " directory. Also, the "lib"
directory created by you exists at  "example/solr/lib/", so using above lib
directive should solve the problem.

Hope that helps!
~Mohit

On Tue, Sep 13, 2011 at 11:14 AM, ahmad ajiloo <ahmad.aji...@gmail.com>wrote:

> I created "example/solr/lib" directory and copied jar files to it and added
> this expressions in solrconfig.xml :
>
> <lib dir="../../example/solr/lib" />
> <lib dir="../../../example/solr/lib" /> (for assurance!!!)
>
> but it doesn't work and still has those errors !
>
>
>
> On Mon, Sep 12, 2011 at 4:31 PM, Erik Hatcher <erik.hatc...@gmail.com>wrote:
>
>> Yes, SOLR_HOME in this case, if you're running the example application, in
>> example/solr.  There's no lib/ directory there by default, just create it
>> yourself.
>>
>> You can also add <lib> directives in your solrconfig.xml (you'll see this
>> documented in comments in the example config).
>>
>>        Erik
>>
>>
>>
>> On Sep 12, 2011, at 07:51 , ahmad ajiloo wrote:
>>
>> > Hi
>> > In this page said:
>> > "Note: to use this filter, see solr/contrib/analysis-extras/README.txt
>> for instructions on which jars you need to add to your SOLR_HOME/lib "
>> > I can't find "SOLR_HOME/lib" !
>> > Is there: "apache-solr-3.3.0\example\solr" ? there is no directory which
>> name is lib
>> > or: "apache-solr-3.3.0\" ? there is no directory which name is lib
>> >
>> > or : "apache-solr-3.3.0\example" ? there is a "lib" directory. I copied
>> 4 libraries exist in "solr/contrib/analysis-extras/" to
>> "apache-solr-3.3.0\example\lib" but some errors exist in loading page "
>> http://localhost:8983/solr/admin"; like:
>> > "org.apache.solr.common.SolrException: Error loading class
>> 'solr.ICUNormalizer2FilterFactory' "
>> >
>> > thanks a lot
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>
>>
>

Reply via email to