Details
Description
When executing a product search in the content application an error is thrown.
In demo-trunk: https://demo-trunk-ofbiz.apache.org/content/control/ProductSearch
the following error is thrown:
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://lucene/widget/LuceneScreens.xml#ProductSearch]: java.lang.IllegalArgumentException: Error running script at location [component://lucene/webapp/content/WEB-INF/actions/SearchProducts.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.apache.lucene.store.FSDirectory.open() is applicable for argument types: (java.io.File) values: [runtime/indexes/products] Possible solutions: open(java.nio.file.Path), open(java.nio.file.Path, org.apache.lucene.store.LockFactory), grep(), grep(java.lang.Object), use([Ljava.lang.Object;), wait() (Error running script at location [component://lucene/webapp/content/WEB-INF/actions/SearchProducts.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.apache.lucene.store.FSDirectory.open() is applicable for argument types: (java.io.File) values: [runtime/indexes/products] Possible solutions: open(java.nio.file.Path), open(java.nio.file.Path, org.apache.lucene.store.LockFactory), grep(), grep(java.lang.Object), use([Ljava.lang.Object;), wait())