On 2/11/2012 4:33 AM, alessio crisantemi wrote:
dear all,
I update my solr at 3.5 version but now I have this problem:
Grave: Full Import failed
org.apache.solr.handler.dataimport.DataImportHandlerException:
java.lang.NoSuchMethodError:
The data import handler has always been a contrib module, but it used to
be actually included in the .war file. That has been changed, now it's
in separate jar files.
When you downloaded or compiled 3.5.0, the dist directory should have
contained dataimporthandler and dataimporthandler-extras jar files.
Mine, which I have compiled myself from the 3.5 svn branch, are named
the following:
apache-solr-dataimporthandler-3.5-SNAPSHOT.jar
apache-solr-dataimporthandler-extras-3.5-SNAPSHOT.jar
At minimum, put the first jar file in a lib folder referenced in your
solrconfig.xml file. I couldn't tell you whether you'll need the
-extras file as well, you'll have to experiment.
Thanks,
Shawn