简体   繁体   中英

ClassCastException ExtractingRequestHandler while trying to index PDF in Solr

I'm facing some difficulty indexing PDF in Solr. Initially I had a lot of JAR missing, which I included all (specially from "dist" and "contrib\\extraction" folder. But now when I try to index my PDF I'm facing this ClassCastException ExtractingRequestHandler. Have anyone encountered this before or have any idea what's going wrong?

在此处输入图片说明

Try putting solr-cell.jar in your classpath. ExtractingRequestHandler class is inside solr-cell jar file.

Put it under /webapp/lib folder followed by restart.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM