I'm running the apache module on OS X using MAMP. I get the
following error when I try to embed a PNG for use in a stylesheet.
An error occured on the server. Server error is: 'Error
occurred in server thread; nested exception is:
java.lang.InternalError: An error occurred because there is no
graphics environment available. Please set the headless-server
setting in the Flex configuration file to true.'
I've tried adding
<headless-server>true</headless-server> to the compiler
node of flex-config.xml but I get the same error.