Jump to content
Changes to the Jaspersoft community edition download ×

NoClassDefFoundError Persists


Recommended Posts

I was experiencing an error when using jasperreports 1.2.5 embedded into a servlet running on Geronimo 1.1 on a Linux box which has java 1.5.0_07, giving me the exception:



java.lang.Class.forName0(Native Method)

java.lang.Class.forName(Class.java:164) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)


etc. etc.


So I did some research and came across the fix of adding the -Djava.awt.headless=true flag to the startup script for Geronimo. I did this, and restarted the server and the problem went away.



1 week later this problem seems to have come back. I am wondering if anyone has any additional experience with this issue that they could share? I verified under the Geronimo console that the headless option is set for the server.

Post edited by: rsilver@bfm.bm, at: 2006/09/25 17:41

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...