UniFloripa Posted May 8, 2007 Share Posted May 8, 2007 I am need of some help!!!!!! The JI is running and working fine, but every day when ocurrs that i tried to rum any report, I am receiving the following error: org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: null org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:832)org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)org.springframework.web.servlet.FrameworkS . . . root cause java.lang.NoClassDefFoundErrorjava.lang.Class.forName0(Native Method)java.lang.Class.forName(Class.java:164)java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)net.sf . . . This problem occurs with the Jasperserver installed under linux, but not with XP.I have no idea of what to do? Any help would be greatly appreaciated. ThanksPatrick Link to comment Share on other sites More sharing options...
swood Posted May 8, 2007 Share Posted May 8, 2007 This is answered on the JasperReports forum. Run your JVM on Linux with the parameter: -Djava.awt.headless=true ShermanJasperSoft Link to comment Share on other sites More sharing options...
UniFloripa Posted May 31, 2007 Author Share Posted May 31, 2007 Very thanks Sherman, I put the parameter and solved my problem. Patrick S. Heilmann Link to comment Share on other sites More sharing options...
ankursaxena.a Posted November 8, 2007 Share Posted November 8, 2007 Hi,My Tomcat server is on Solaris and I get the same exception but it appears sometimes and when I restart a tomcat, reports started working fine. I havent set java.awt.headless=true; My tomcat version is 5.5and my jasper reports version is 3.0 Please let me know how can reproduce this problem everytime and how can I fix. Regards,Ankur Link to comment Share on other sites More sharing options...
bdeblais Posted April 14, 2008 Share Posted April 14, 2008 Hi,I have the same problem as UniFloripa and I see with interest the swood's response.I come to you to ask you how run my JVM on Linux with the parameter:-Djava.awt.headless=trueAs you can see, my level with java is fairly small :blush: Thnaks in advance for your reply and help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now