Could not load codec 'Lucene54'. Did you forget to add lucene-backward-codecs.jar?
来源:互联网 发布:linux shell 参数 编辑:程序博客网 时间:2024/05/17 00:53
将lucene的版本更新到6.4.2之后,运行时出现了这个异常,在maven中央仓库搜了下“ lucene-backward-codecs”找到了
可以看到该jar包的注释:Codecs for older versions of Lucene。
将这个依赖添加到maven项目,重新编译运行即可。
0 1
- Could not load codec 'Lucene54'. Did you forget to add lucene-backward-codecs.jar?
- did you forget to add stdafx.h problem
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- VS2005,Did you forget to add '#include "stdafx.h"' to your source?
- Did you forget to add '#include "stdafx.h"' to your source?
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
- do not forget you
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- WTL出现GUID错误 Did you forget to pass the LIBID to CComModule::Init?
- file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it 的解决
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方法
- No source code is available for type javax.validation.ConstraintViolation<T>; did you forget to inh
- java.lang.IllegalStateException: Did you forget to call 'public void setup(LocalActivityManager acti
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManager activityGroup)解决方法
- Android上下TabHost设置及Did you forget to call 'public void setup(LocalActivityManage
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured PHP?
- 面试题:“你能不能谈谈,java GC是在什么时候,对什么东西,做了什么事情?”
- 开发网页,不知道js出错在哪怎么办??
- Java三路快速排序
- 面试问题整理
- uboot下init_sequence_f函数之init_post
- Could not load codec 'Lucene54'. Did you forget to add lucene-backward-codecs.jar?
- trim方法(自己实现,存在问题tab留下的空格无法去掉)
- 用nodeJS搭建本地文件服务器的几种方法
- Tomcat服务器下部署项目几种方式
- uboot下init_sequence_f函数之setup_dest_addr
- http跨域请求
- C语言的关键字有几个
- 使用Python实现无交互sftp上传、下载
- 蓝桥杯 C/C++ B组 剪邮票