Hi Doss, I had to include more jars. What worked for me was the following:
- Clone https://github.com/openjdk/nashorn and build with ``` cd make/nashorn ant jar ``` - Copy the following generated jars to .../solr-9.7.0/lib/ .../nashorn/build/nashorn/dist/jjs.jar .../nashorn/build/nashorn/dist/nashorn.jar .../nashorn/build/nashorn/dependencies/asm-7.3.1.jar .../nashorn/build/nashorn/dependencies/asm-analysis-7.3.1.jar .../nashorn/build/nashorn/dependencies/asm-commons-7.3.1.jar .../nashorn/build/nashorn/dependencies/asm-tree-7.3.1.jar .../nashorn/build/nashorn/dependencies/asm-util-7.3.1.jar You might also have to disable the Solr security manager by setting `SOLR_SECURITY_MANAGER_ENABLED=false` in .../solr-9.7.0/bin/solr.in.sh. See also https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#security-3. I hope that helps, Markos On 2024/10/18 09:00:18 Doss wrote: > Hi All, > > I am trying to do some scriptTransformer activity while importing data to > SOLR 9.4.0 (Plugin https://github.com/SearchScale/dataimporthandler) > > I am getting the following error even after placing > the nashorn-core-15.4.jar under <SOLR_HOME>/lib > > Enabled scripting using SOLR_MODULES > > org.apache.solr.handler.dataimport.DataImportHandlerException: Cannot load > Script Engine for language: JavaScript Processing > > Please help. > > Same with: Groovy also >