[jboss-user] [Installation, Configuration & Deployment] - Re: Got NoClassDefFoundError when deployed to production ser

kingcu do-not-reply at jboss.com
Thu Nov 9 09:43:51 EST 2006


Just got my problem fixed, it's because JFreeChart calls Java2D, which requires a display environment, which is not available on the Linux server. So, I changed the batch file to add -Djava.awt.headless=true to tell JVM to use a headless display. See below link for details:

http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_I_have_an_application_that_rea

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984535#3984535

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984535



More information about the jboss-user mailing list