lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <>
Subject Re: How to let Solr load libs from within my JAR?
Date Wed, 24 Apr 2013 10:48:19 GMT

Java class loader does not support JAR within JAR. You'll have to unpack both JARs and then
JAR them together as one. Or simply give several JARs to Solr, that's the easiest.

Jan Høydahl, search solution architect
Cominvent AS -
Solr Training -

24. apr. 2013 kl. 03:37 skrev Xi Shen <>:

> Hi,
> I developed a data import handler, it has some dependent libraries. I
> deployed them in a parallel folder with my JAR and included the path in
> solrconfig.xml. It works fine. But I am thinking maybe I can pack those JAR
> libs within my JAR, but I got NoClassDefFoundError exception when executing
> my DIH.
> Is it possible Solr can load JAR libs packed in my JAR? How can I do that.
> -- 
> Regards,
> David Shen

View raw message