I'm using grails burning image plugin and it works fine on my Windows development environment and on the linux pre-production server. Unfortunately, the production server is a FreeBsd server based on openJDK 1.7.0_65.
When I want to upload a picture which is a '.jpg' or '.jpeg' file, I get a com.sun.image.codec.jpeg.ImageFormatException
.
After looking on stackoverflow, I found these two posts which seem to say that I have to add -XDignore.symbol.file
option launching the java compiler.
Source:
How can I add this option to my grails application?