我在尝试登录时收到以下错误页面(见底部):
http://localhost:8080/solr/admin/
到目前为止,我尝试了以下方法均未成功:
- 重启Tomcat(无数次)
- 运行 DSpace 的命令 (
stats-log-converter
&stats-log-importer
) - 将原始安装中的所有内容(SQL 和文件)复制到新安装中。
一点历史:
主要症状是我们无法启动和运行统计信息。统计页面只返回一个空白页面。试图解决这个问题,我偶然发现了这个,我怀疑这是罪魁祸首。
这是错误:(也附上图片)
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 32 in the jsp file: /admin/index.jsp
The method getRequestHandlers() in the type SolrCore is not applicable for the arguments (Class<ReplicationHandler>)
29: <%-- jsp:include page="header.jsp"/ --%>
30: <%-- do a verbatim include so we can use the local vars --%>
31: <%@include file="header.jsp" %>
32: <%boolean replicationhandler = !core.getRequestHandlers(ReplicationHandler.class).isEmpty();%>
33: <br clear="all">
34: <table>
35:
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:295)
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs.
Apache Tomcat/6.0.26