好吧,我放弃了。我找不到解决方案。全文:我正在使用在 Jetty 上运行的 ManifoldCF v.5.1 连接到 Opentext(一切正常,我可以抓取 Opentext),现在我在连接的 tomcat 7 上运行了 Solr 4.0 Alpha,以获取 ManifoldCF 的输出。但是,一旦 ManifoldCF 尝试将数据交给 Solr。我收到此错误:
SEVERE: null:org.apache.solr.common.SolrException: lazy loading error
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWra
ppedHandler(RequestHandlers.java:256)
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handle
Request(RequestHandlers.java:238)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1561)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter
.java:442)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilte
r.java:263)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:185)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:300)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.solr.common.SolrException: Error Instantiating Request Han
dler, org.apache.solr.handler.extraction.ExtractingRequestHandler failed to inst
antiate org.apache.solr.request.SolrRequestHandler
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:434)
at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:477)
at org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWra
ppedHandler(RequestHandlers.java:247)
... 19 more
Caused by: java.lang.ClassCastException: class org.apache.solr.handler.extractio
n.ExtractingRequestHandler
at java.lang.Class.asSubclass(Unknown Source)
at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.
java:399)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:420)
... 21 more
我在 solarconfig.xml 中尝试了几个请求处理程序,它们都以同样的方式失败。我读到 apache-solr-cell*.jar 必须在 solr.war 中,但我似乎无法确认或使用 ant 合并它。请指教...