Hi
I'm using Struts 1.2.7 and JFreeChart 1.0.0-rc1. Right now I can start
my Struts application. When I try to create some chart with ChartFactory
in Struts action, I get exception:
javax.servlet.ServletException: Servlet execution threw an exception
I've created test class with main() method, and the same code in exactly
the same eclipse project run without any problem, and the chart is created.
Regards
Wendy Smoak napisał(a):
On 11/25/05, Daniel Łaś <[EMAIL PROTECTED]> wrote:
I have the problem using JFreeChart with struts. JFreeChart requires
jcommon.jar to be in the classpath. When I copy jcommon.jar to my WebApp
lib directory, application doesn't start. There is such error message in
the logfile:
Unable to initialize Struts ActionServlet due to an unexpected exception
or error thrown, so marking the servlet as unavailable. Most likely,
this is due to an incorrect or missing library dependency.
How can I deal with this problem? Can I use JFreeChart in Struts
application?
I use JFreeChart in a Struts app with no problems... is there any more
information in the logs (assuming you're using Tomcat, was that from
the localhost log, or the console/catalina.out?)
What versions of Struts and JFreeChart are you using?
--
Wendy
--
Daniel Łaś <[EMAIL PROTECTED]>
e-direct Polska sp. z o.o.
ul. 1-go Maja 9
45-068 Opole
tel. +48 77 44 17 868
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]