An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene62' does not exist
来源:互联网 发布:签章软件下载 编辑:程序博客网 时间:2024/06/15 00:47
由于我原先预研用的6.6.1(jdk1.8支持)。合到项目中来后只能用JDK7 故将lucene降级为5.4,索引文件还用原来6.6.1创建的。
lucene读取原来的索引的时候(初始化清理索引),需要根据索引文件的版本号创建对应class,但是我是降级的所以新的jar包中并没有相应的类,所以报错。
将索引文件夹删掉再初始化正常。
阅读全文
0 0
- An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene62' does not exist
- 错误:A SPI class of type org.apache.lucene.*** with name 'Whitespace' does not exist.
- The type or namespace name 'Windows' does not exist in the class or namespace 'System'
- c++ class does not name a type
- c++ class does not name a type
- c++ class does not name a type
- class does not name a type
- c++ class does not name a type
- error: '[class name]' does not name a type
- Error type 3 activity class{}does not exist 找不到文件
- Error type 3: Activity Class {…} does not exist
- org.apache.maven.plugins:maven-archetype-plugin does not exist
- org.apache.hadoop.mapred.InvalidInputException: Input path does not exist:
- DNS name does not exist
- TypeScript 错误“property does not exist on value of type”
- Eclipse错误:Problems opening an editor Reason: [Project Name] does not exist解决办法
- Error:The type or namespace name 'Office' does not exist in the namespace 'Microsoft' 解决方法
- The type or namespace name 'Service' does not exist 异常处理
- Python3.6:“猜数字游戏”TypeError: '<' not supported between instances of 'str' and 'int'
- 求子数组最大和
- cannot be cast to
- git的使用3(创建git仓库)
- 如何使用Google浏览器自带的调试工具
- An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene62' does not exist
- 【22】Bootstrap — 巨幕
- emacs快捷键-缓冲区的操作
- JavaScript中split()和join()方法的使用
- 【腾讯Bugly干货分享】深入理解 ButterKnife,让你的程序学会写代码
- 混合模式
- tcpdump命令使用
- HDU 6097 Mindis(计算几何)
- JavaGC