使用lucene-core-5.5.2,我在Weblogic服务器中遇到了问题a。独立搜索应用程序可以工作,但是当我作为Web应用程序部署时却失败,并出现以下错误
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: []
Run Code Online (Sandbox Code Playgroud)
我试图创造下的文件夹结构,classes/如META-INF/services/添加的所有文件lucene-core-5.5.2.jar META-INF\services\的目录中创建一个jar文件META-INF\services\,并在类路径中添加,但它不承认META-INF/services加载SPI
任何帮助将非常感激。