kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
63 stars 63 forks source link

Uploading an csv file for mass import does not work on newer Java versions #5341

Open BartChris opened 2 years ago

BartChris commented 2 years ago

Describe the bug I encountered the same beahviour as described here https://github.com/kitodo/kitodo-production/issues/5034 when trying to upload a CSV file for the mass import.

The error message is "JavaScript ScriptEngine not available via the context ClassLoader or the extension ClassLoader"

Maybe this is in option when updating Primefaces is not possible atm: https://github.com/primefaces/primefaces/issues/6461#issuecomment-1219618508

To Reproduce Steps to reproduce the behavior:

  1. Go to Massimport dialog
  2. Try to upload a csv file

Expected behavior The upload of a csv file should work.

Desktop (please complete the following information):

henning-gerhardt commented 2 years ago

Neverless this issue is true for newer Java versions but the current development and build version is Java 11. Can you configure Eclipse to use Java 11 instead of Java 15? The next long term supported version of Java is Java 17 and this Java version should be the next goal in development and build.

BartChris commented 2 years ago

Ok this seems to work with Java 11, with a warning that this feature is going to be removed in future releases Warning: Nashorn engine is planned to be removed from a future JDK release

solth commented 2 years ago

The supported Java versions need to be documented, than we can close this issue.