Here's a thought. If dist is under solr.solr.home but your lib dir is set to be "../../dist". Wouldn't the lib dir be relative to solr.solr.home and therefore should just be "dist"?
On Wed, 14 Sep 2011 07:45:45 -0700 (PDT), Xue-Feng Yang <just4l...@yahoo.com> wrote: > Hi all, > > > I am trying set up solr 3.3 with multicores in glassfish 3.1.1 and eclipse > indigo. I have the following error: > > SEVERE: org.apache.solr.common.SolrException: Error loading class > 'org.apache.solr.handler.dataimport.DataImportHandler' > > However, I have a line > > <lib dir="../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" > /> > > in solrconfig.xml and dist is under the solr.solr.home directory. > > If I copy the jars to <glassfish_root>/glassfish/domains/domain1/lib/ext > then this error will not appear. But this should not be right way. > > Any thought? > > Thanks.