繁体   English   中英

Solr在DSpace安装上不起作用

[英]Solr not working on DSpace installation

尝试登录时出现以下错误页面(请参阅底部):

http://localhost:8080/solr/admin/

到目前为止,我已经尝试了以下方法但没有成功:

  1. 重新启动Tomcat(无数次)
  2. 运行DSpace的命令( stats-log-converterstats-log-importer
  3. 将所有内容(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

SOLR错误

看起来像jar文件的版本不匹配或版本兼容性问题。

清理后尝试运行全新安装。 确保在Solr模块的/WEB-INF/lib中具有所有Jar。

参考: http : //permalink.gmane.org/gmane.comp.db.dspace.user/15055

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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