Error displaying report created with Jasper report in VPS with S.Linux

Asked

Viewed 36 times

1

I’m having difficulty displaying the report in a hopedada application on a VPS. I added the font in the project dependency Maven, as shown below:

inserir a descrição da imagem aqui

When I try to generate the report there is error:

first mistake:

Could not initialize class sun.awt.X11fontmanager

second mistake:

Could not initialize class net.sf.jasperreports.engine.util.Jrstyledtextparser

third mistake:

java.lang.Unsatisfiedlinkerror: /usr/java/jdk1.8.0_102/jre/lib/i386/libfontmanager.so: libgcc_s.so. 1: cannot open Shared Object file: No such file or directory

Running Internet search, for solving the problem I found options like: -Djava.awt.headless=true to add font dejavu-fonts. Does anyone have any suggestions to help?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.