honery
2009-07-29 14:18
浏览 320
已采纳

HTTP Status 500 - java.lang.RuntimeException: Can't find resource 'solrconfig.xm

大家好,
我采用Ubuntu作为服务器的操作系统,
设置的solr home为 solr.home=home/huenzhao/search/tomcat6/bin/solr

但是,当我启动tomcat时(tomcat和solr的配置,在windows下运行没有一点问题),就会出现如下错误:

HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: false in null ------------------------------------------------------------- java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'home/huenzhao/search/tomcat6/bin/solr/conf/', cwd=/home/huenzhao/search/tomcat6/bin at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:194) at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:162) at org.apache.solr.core.Config.(Config.java:100) at org.apache.solr.core.SolrConfig.(SolrConfig.java:113) at org.apache.solr.core.SolrConfig.(SolrConfig.java:70) at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117) at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:69) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at

……

有人知道怎么解决么?谢谢

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • 醤油様 2009-07-29 16:08
    已采纳

    [code="java"]Can't find resource 'solrconfig.xml[/code]
    很明显没找到这个文件....你看看是不是写错了

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题