闪烁_ joey 2019-09-27 04:33 采纳率: 0%
浏览 572

solr和tomcat整合失败!

按照教程一步一步来,最后访问http://localhost:8080/solr/index.html,没有报错也没有画面,也没有转圈,但是空白。图片说明

日志文件如下:

2019-09-27 03:59:27.772 ERROR (localhost-startStop-1) [   ] o.a.s.u.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete.
2019-09-27 03:59:27.780 INFO  (localhost-startStop-1) [   ] o.a.s.s.SolrDispatchFilter Using logger factory org.apache.logging.slf4j.Log4jLoggerFactory
2019-09-27 03:59:27.785 INFO  (localhost-startStop-1) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr? version 7.7.2
2019-09-27 03:59:27.785 INFO  (localhost-startStop-1) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port null
2019-09-27 03:59:27.789 INFO  (localhost-startStop-1) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: null
2019-09-27 03:59:27.847 INFO  (localhost-startStop-1) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2019-09-26T19:59:27.798Z
2019-09-27 03:59:27.862 INFO  (localhost-startStop-1) [   ] o.a.s.c.SolrResourceLoader Using JNDI solr.home: D:/SoftWare/solr/solrHome
2019-09-27 03:59:27.868 INFO  (localhost-startStop-1) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from D:\SoftWare\solr\solrHome\solr.xml
2019-09-27 03:59:27.915 INFO  (localhost-startStop-1) [   ] o.a.s.c.SolrXmlConfig MBean server found: com.sun.jmx.mbeanserver.JmxMBeanServer@41a4555e, but no JMX reporters were configured - adding default JMX reporter.
2019-09-27 03:59:28.359 INFO  (localhost-startStop-1) [   ] o.a.s.h.c.HttpShardHandlerFactory Host whitelist initialized: WhitelistHostChecker [whitelistHosts=null, whitelistHostCheckingEnabled=true]
2019-09-27 03:59:28.796 INFO  (localhost-startStop-1) [   ] o.a.s.c.TransientSolrCoreCacheDefault Allocating transient cache for 2147483647 transient cores
2019-09-27 03:59:28.799 INFO  (localhost-startStop-1) [   ] o.a.s.h.a.MetricsHistoryHandler No .system collection, keeping metrics history in memory.
2019-09-27 03:59:28.858 INFO  (localhost-startStop-1) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.node' (registry 'solr.node') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@41a4555e
2019-09-27 03:59:28.860 INFO  (localhost-startStop-1) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jvm' (registry 'solr.jvm') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@41a4555e
2019-09-27 03:59:28.861 INFO  (localhost-startStop-1) [   ] o.a.s.m.r.SolrJmxReporter JMX monitoring for 'solr.jetty' (registry 'solr.jetty') enabled at server: com.sun.jmx.mbeanserver.JmxMBeanServer@41a4555e
2019-09-27 03:59:28.900 INFO  (localhost-startStop-1) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath D:\SoftWare\solr\solrHome

找了很多方法,就是没找到问题出在哪里,求大神知道。
PS:我的solrHome路径指定了,该注释的注释了。。

  • 写回答

5条回答 默认 最新

    报告相同问题?

    相关推荐 更多相似问题

    悬赏问题

    • ¥15 js 实现内容输入框内文字高亮
    • ¥15 IP地址聚合什么情况才能同时聚合,什么情况又是先集合两个再加上最后一个
    • ¥15 mysql 选择求解答
    • ¥15 数据挖掘 决策树,文件报错
    • ¥15 编写生产者和消费者程序
    • ¥15 CSDN是个怎么样的平台
    • ¥15 java识别字符串内容并运算(输入为一行字符串,输出为整数)
    • ¥15 eclipse Java项目问题
    • ¥20 用记事本写一个login.jsp ,用以实现登陆界面,并通过post方式向Servlet传送页面数据
    • ¥15 关于链表的问题(为什么要在del函数结束后再创一个变量y)