Hi, 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 - www.cominvent.com Solr Training - www.solrtraining.com 24. apr. 2013 kl. 03:37 skrev Xi Shen <davidshe...@gmail.com>: > 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 > > http://about.me/davidshen > https://twitter.com/#!/davidshen84