作者:王之玉58_913 | 来源:互联网 | 2023-09-10 12:34
异常信息:AnSPIclassoftypeorg.apache.lucene.codecs.CodecwithnameLucene62doesnotexist.解
异常信息:
An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene62' does not exist.
解决办法:
solr索引数据与当前jar包不匹配导致的异常,清除索引数据再重新创建索引即可。
异常信息:
http post request header is too large
解决办法,修改tomcat配置,添加:maxHttpHeaderSize ="2147483647" maxPostSize="0"
/**
* * connectionTimeout="20000"
* redirectPort="8443"
* maxHttpHeaderSize ="2147483647" maxPostSize="0" />
*
* maxHttpHeaderSize:最大上传header大小
* maxPostSize:设置为0,解除限制
*/
异常信息:
impossible to resolve dependencies: resolve failed - see output for details
解决方法:屏蔽F:\solr-5.5\solr\core\build.xml的第65行,对hadoop的依赖。