qq_39812963
记得微笑wo
2017-08-13 11:34

solr安装成功配置在Tomcat中,在 eclipse中运行Tomcat报错,怎么解决?

  • tomcat
  • solr
  • eclipse

信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-08-13 19:07:19.435 ERROR (localhost-startStop-1) [ ] o.a.s.s.StartupLoggingUtils Missing Java Option solr.log.dir. Logging may be missing or incomplete.
2017-08-13 19:07:19.479 INFO (localhost-startStop-1) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 6.5.0
2017-08-13 19:07:19.479 INFO (localhost-startStop-1) [ ] o.a.s.s.SolrDispatchFilter / | ___| |_ _ Starting in standalone mode on port null
2017-08-13 19:07:19.479 INFO (localhost-startStop-1) [ ] o.a.s.s.SolrDispatchFilter \
\/ _ \ | '_| Install dir: null
2017-08-13 19:07:19.518 INFO (localhost-startStop-1) [ ] o.a.s.s.SolrDispatchFilter |___/___/_|_| Start time: 2017-08-13T11:07:19.490Z
2017-08-13 19:07:19.547 INFO (localhost-startStop-1) [ ] o.a.s.c.SolrResourceLoader Using JNDI solr.home: solr_home
2017-08-13 19:07:19.576 INFO (localhost-startStop-1) [ ] o.a.s.c.SolrXmlConfig Loading container configuration from D:\eclipse\solr_home\solr.xml
2017-08-13 19:07:19.581 ERROR (localhost-startStop-1) [ ] o.a.s.s.SolrDispatchFilter Could not start Solr. Check solr/home property and the logs
2017-08-13 19:07:19.643 ERROR (localhost-startStop-1) [ ] o.a.s.c.SolrCore null:org.apache.solr.common.SolrException: solr.xml does not exist in D:\eclipse\solr_home cannot start Solr
at org.apache.solr.core.SolrXmlConfig.fromFile(SolrXmlConfig.java:109)
at org.apache.solr.core.SolrXmlConfig.fromSolrHome(SolrXmlConfig.java:141)
at org.apache.solr.servlet.SolrDispatchFilter.loadNodeConfig(SolrDispatchFilter.java:267)
at org.apache.solr.servlet.SolrDispatchFilter.createCoreContainer(SolrDispatchFilter.java:235)
at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:169)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

八月 13, 2017 7:07:19 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [D:\apache-tomcat-8.5.15\webapps\solr] has finished in [9,014] ms
八月 13, 2017 7:07:19 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [D:\apache-tomcat-8.5.15\webapps\solr_home]
八月 13, 2017 7:07:19 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [D:\apache-tomcat-8.5.15\webapps\solr_home] has finished in [35] ms
八月 13, 2017 7:07:19 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
八月 13, 2017 7:07:19 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
八月 13, 2017 7:07:19 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 20859 ms

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答