使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: my_solr2
来源:互联网 发布:windows 2012 mse 编辑:程序博客网 时间:2024/06/05 22:32
首先,我是用的是solr5.5.4,但是我的solrj使用的4.10.3,这样在使用SolrCloud时,就会出现
org.apache.solr.common.SolrException: Collection not found: my_solr2
这样的异常,collection确定是存在,这时候,我们需要把solrj的版本修改为5.5.4,来保持一致。
这时候我单独测试没有问题了,奇怪的是,使用maven打包时,打进war包的还是4.10.3版本的solrj,在maven工程的pom文件的根目录文件夹,使用mvn dependency:tree
命令可以查看jar包版本。
在仔细检查各个依赖工程时并没能发现有什么solrj版本不一致,将所有parent工程下面的子工程全部update,解决问题。
阅读全文
0 0
- 使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: my_solr2
- org.apache.solr.common.SolrException
- solr - org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
- solr服务器报错:org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars
- Solr org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: No such core: core0
- org.apache.solr.common.SolrException: Request-URI Too Large
- 求解决 org.apache.solr.common.SolrException: Internal Server Error
- SEVERE: org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text 的解决办法
- solrExecption : org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: Error opening new searcher
- org.apache.solr.common.SolrException undefined field text
- schema.doc.xml报错pic: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Coul
- solr启动时报错org.apache.solr.common.SolrException: undefined field text的解决办法
- org.apache.solr.common.SolrException: ERROR: multiple values encountered for non multiValued copy
- Android 屏幕适配方案
- sizeof 关键字总结
- 3种web会话管理的方式
- Spark为何使用Netty通信框架替代Akka
- oracle database 12c Release 2-Managing Undo 翻译(第六章节)
- 使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: my_solr2
- Quaternion和AxisAngle的互相转换
- 小明学C++第三篇:编译原理
- Java语言for循环示例
- mac 下删除旧版本 mysql 并用 brew 重新安装
- Spring Boot 坑区 之 配置文件
- [NOIP2017模拟]德充符
- jQuery 取值、赋值的基本方法整理
- 【POJ】1995