Closed ghost closed 5 years ago
fixed by commit 8e73f6bc9d93fdd4791e7b31d90eacbdfad719f2
at docker hub there is now two new releases:
see https://hub.docker.com/r/recraft/specify-reportserver/tags
v6.2.2 works fine.
Update for v 6.9.0: Another error.
report_1 | [WARNING] Error for /report
report_1 | java.lang.UnsupportedClassVersionError: net/sf/jasperreports/engine/JRException : Unsupported major.minor version 52.0
It seems that v 6.9.0 of JasperReports has a jar that has been compiled with Java 8 and the docker image uses Java 7, based on https://stackoverflow.com/questions/10382929/how-to-fix-java-lang-unsupportedclassversionerror-unsupported-major-minor-versi
I have (re)pushed the recraft/specify-reportserver:v6.9.0 using a Java 8 runtime and modified the pom-file to compile for this target, and tested to start it but I have no "real test case" so please report and whether it works or not and thanks for testing the v6.9.0!
To get the image: "docker pull recraft/specify-reportserver:v6.9.0" should find a different checksum and pull the new image. I'm not sure whether a "docker-compose restart" will suffice after that, you may need to throw away the previous container.
Opening reports generates a 500 error - Internal server error.
From the docker-compose-logs:
report_1 | net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "Arial" is not available to the JVM. See the Javadoc for more details.
The solution seems to be to install msttcorefonts. Trying to run a hotfix inside the container. It does not work, however.
Yielding:
UPDATE It's working. Looked in the contrib.list file and the line with "debian jesse main contrib" had not been written. I added it manually, ran update and install.
This should be a written into the container package.