You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Firas Khasawneh <Fi...@sas.com> on 2015/10/01 18:23:47 UTC
Class Loader issues
Hi all,
I am trying to load Jackson json library from the solr-5.3.1/contrib/clustering/lib directory.
In solconfig.xml I have the following entry: <lib dir="/dev/solr-5.3.1/contrib/clustering/lib" regex="jackson-.*\.jar"/>
When I start solr, I get the following warning:
SolrResourceLoader
No files added to classloader from lib: /dev/solr-5.3.1/contrib/clustering/lib
The path is correct and regex should load jackson-core-asl-1.9.13.jar and jackson-mapper-asl-1.9.13.jar but it does not. Any help is appreciated.
Thanks,
Firas
Re: Class Loader issues
Posted by Tomoko Uchida <to...@gmail.com>.
Hi,
Do you have (execute) permission for /dev/solr-5.3.1/contrib/clustering/lib
?
I've seen same warning when I have not access permission to the library dir.
Regards,
Tomoko
2015-10-02 1:23 GMT+09:00 Firas Khasawneh <Fi...@sas.com>:
> Hi all,
>
> I am trying to load Jackson json library from the
> solr-5.3.1/contrib/clustering/lib directory.
> In solconfig.xml I have the following entry: <lib
> dir="/dev/solr-5.3.1/contrib/clustering/lib" regex="jackson-.*\.jar"/>
>
> When I start solr, I get the following warning:
> SolrResourceLoader
>
> No files added to classloader from lib:
> /dev/solr-5.3.1/contrib/clustering/lib
>
>
>
>
> The path is correct and regex should load jackson-core-asl-1.9.13.jar and
> jackson-mapper-asl-1.9.13.jar but it does not. Any help is appreciated.
>
> Thanks,
> Firas
>