How to map our own xml file in Java project?

gegethons

New Member
i am using one link to map the xml file in my project:when i try to integrate my xml file by this way its give me error like this:Sep 18, 2012 10:56:31 AM org.apache.solr.update.processor.LogUpdateProcessor finishINFO: {deleteByQuery=:} 0 16Sep 18, 2012 10:56:31 AM org.apache.solr.common.SolrException logSEVERE: Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:264) at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:375) at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:445) at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:426)Caused by: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:621) at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:327) at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:225) ... 3 moreCaused by: org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:64) at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntityProcessor.java:288) at org.apache.solr.handler.dataimport.XPathEntityProcessor.fetchNextRow(XPathEntityProcessor.java:226) at org.apache.solr.handler.dataimport.XPathEntityProcessor.nextRow(XPathEntityProcessor.java:201) at org.apache.solr.handler.dataimport.EntityProcessorWrapper.pullRow(EntityProcessorWrapper.java:330) at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:296) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:683) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:709) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:619) ... 5 moreCaused by: java.lang.RuntimeException: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:113) at org.apache.solr.handler.dataimport.FileDataSource.getData(FileDataSource.java:85) at org.apache.solr.handler.dataimport.FileDataSource.getData(FileDataSource.java:47) at org.apache.solr.handler.dataimport.XPathEntityProcessor.initQuery(XPathEntityProcessor.java:285) ... 12 moreCaused by: java.io.FileNotFoundException: Could not find file: at org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:111) ... 15 moreSep 18, 2012 10:56:31 AM org.apache.solr.update.DirectUpdateHandler2 rollbackINFO: start rollbackSep 18, 2012 10:56:31 AM org.apache.solr.core.SolrCore executeINFO: [] webapp=/solr_new path=/dataimport params={command=full-import} status=0 QTime=0 Sep 18, 2012 10:56:31 AM org.apache.solr.core.SolrCore executeINFO: [] webapp=/solr_new path=/dataimport params={command=full-import} status=0 QTime=0 Sep 18, 2012 10:56:31 AM org.apache.solr.core.SolrCore executeINFO: [] webapp=/solr_new path=/dataimport params={command=full-import} status=0 QTime=0 Sep 18, 2012 10:56:31 AM org.apache.solr.update.DirectUpdateHandler2 rollbackINFO: end_rollbackCan any one guide me how to solve this ?
 
Back
Top