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

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Eine SPI -Klasse von Typ org.apache.lucene.codecs.Codec mit dem Namen 'Lucene54' existiert nicht

by Anonymous » 11 Feb 2025, 22:53

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>

Top