Page 1 of 1

Eine SPI -Klasse von Typ org.apache.lucene.codecs.Codec mit dem Namen 'Lucene54' existiert nicht

Posted: 11 Feb 2025, 22:53
by Anonymous
mit Lucene-Core-5.5.2 Ich stehe auf Problem A auf Weblogic-Server. Die eigenständige Suchanwendung funktioniert jedoch, aber wenn ich als Web -App bereitete

Code: Select all

Exception type is 'java.lang.ExceptionInInitializerError'. Runtime error: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene54' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath. The current classpath supports the following names: []
Ich habe versucht, die Ordnerstruktur unter Klassen/ als meta-inf/dienste/ alle Dateien von Lucene-Core-5.5.2 hinzugefügt. JAR Meta-inf \ Services \ Verzeichnis erstellte auch die JAR-Datei für Meta-inf \ Services \ und wird in ClassPath hinzugefügt, es wird jedoch nicht meta-inf/dienste zum Laden von spi

Jede Hilfe wäre sehr geschätzt. < /p>