You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I generate a pdf in Grails with PDF plugin, I have the following exception:
there was a problem with PDF generation java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11FontManager
Why I have this exception?
Notice that, if I run the Grails application in another machine, everything works.
May it depend on Java version? In the working machine it is 1.7.0_17, in the not working machine it is 1.7.0_45.
The text was updated successfully, but these errors were encountered:
I really don't know the answer I haven't been near this code for a couple years now, but I would suspect that it could possibly be related to the version of JDK that you are using. Maybe even openJDK vs oracleJDK.
Which are the versions of oracleJDK that you are sure that works with this plugin?
Someone suggested me to use Java in headless mode, but I'm using in both cases Ubuntu with UI, so maybe there is some differences in Java versions...how can I check it?
Someone asked me also: Which PDF framework stands beside grail plugin? Can you give me an answer?
When I generate a pdf in Grails with PDF plugin, I have the following exception:
there was a problem with PDF generation java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11FontManager
Why I have this exception?
Notice that, if I run the Grails application in another machine, everything works.
May it depend on Java version? In the working machine it is 1.7.0_17, in the not working machine it is 1.7.0_45.
The text was updated successfully, but these errors were encountered: