Details
-
Bug
-
Status: In Progress
-
Must
-
Resolution: Unresolved
-
None
-
None
-
None
-
Undetermined
-
Description
It's been reported that when upgrading from 2.2.x to 2.4.x the following exception is thrown:
Caused by: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene410' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath. The current classpath supports the following names: [Lucene54]
This can be fixed by ensuring the Lucene index is properly upgraded during the upgrade process, before the Liquibase changes are run.
After fixing this bug, the following dependency can be removed from the pom file:
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-backward-codecs</artifactId>
<version>5.5.5</version>
</dependency>
The dependency is introduced by TRUNK-4830.