On 18 August 2012 19:50, Val <val.hoff...@gmail.com> wrote: > Hi all, > > I'm having trouble using dataimport, so maybe you can help me. I've > downloaded beta version of Solr 4. > I already posted a question > here<http://stackoverflow.com/questions/12018422/classnotfoundexception-dataimport-dataimporthandler>, > so I don't want to repeat it. But in short: > I want to import from MySQL, and I configured everything as needed. I'm > getting a DataImportHandler exception, with no more output about the > nature of the error. [...]
Are you indexing data using the DataImportHandler or SolrJ? The error, and your post seem to refer to DIH but the StackOverflow thread mentions SolrJ libraries. Are you building Solr 4.0.0-BETA from source, or are you using the binary distribution? Could you clarify what you mean by "example folder for my MySQL DB" in your StackOverflow question, i.e., please provide the filesystem path from where you are doing a "java -jar start.jar". If you are in apache-solr-4.0.0-BETA/example/example-DIH please read the README.txt there on how to start Solr for the DataImportHandler example configuration: You need to specify solr.solr.home. Everything should be ready to run from the binary distribution without needing to change any configuration files. Regards, Gora