|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
NoClassDefFoundErrorusers,
I often get the NoClassDefFoundError from my tomcat 5.5. I had placed jfreechart.jar and jcommon.jar into [tomcat]/common/lib, but after running for some time, the producing image page fail with NoClassDefFoundError. I had to restart the tomcat to fix it. java.lang.NoClassDefFoundError at org.jfree.chart.ChartFactory.createPieChart3D(ChartFactory.java:741) at org.apache.jsp.manager.charts_jsp._jspService(charts_jsp.java:124) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Regards chenjh 2009-06-29 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: NoClassDefFoundError> From: chenjh [mailto:chenjh@...]
> Subject: NoClassDefFoundError > > I had placed jfreechart.jar and jcommon.jar into [tomcat]/common/lib, > but after running for some time, the producing image page fail with > NoClassDefFoundError. Make sure you do not have other copies of jfreechart.jar or jcommon.jar (or any classes therein) in some other location visible to the webapp classloader - such as WEB-INF/lib or shared/lib. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: NoClassDefFoundError-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 chenjh, On 6/28/2009 11:48 PM, chenjh wrote: > I often get the NoClassDefFoundError from my tomcat 5.5. I had placed > jfreechart.jar and jcommon.jar into [tomcat]/common/lib, but after > running for some time, the producing image page fail with > NoClassDefFoundError. I had to restart the tomcat to fix it. Sounds like you are missing a library required by jfreechart, but it is only necessary for certain operations. Check JFreeChart's dependencies for your version, and make sure you have all the JAR files it might need installed in common/lib. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpNdOUACgkQ9CaO5/Lv0PBZEgCfSo0OuX2Fim4Ps+IGvm7UTOCg otMAoIKGQ78KCwpVsTPZMdQTMzSkOKW5 =nZJ7 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |