You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Daniel Łaś <da...@e-direct.pl> on 2005/11/25 18:31:55 UTC
JFreeChart and Struts
Hi
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?
Regards
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
>
>>I found different stack trace than previously posted.Maybe this will be
>>more helpfull.
>>
>>2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
>>servlet action threw exception
>>java.lang.NoClassDefFoundError
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:141)
>> at
>>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
>> at java.awt.Font.initializeFont(Font.java:308)
>
>
> Are you running in a 'headless' environment? On Unix/Linux with no
> graphics libraries (such as X11) installed?
>
> This thread on the JFree forums might help:
> http://www.jfree.org/phpBB2/viewtopic.php?t=1012
>
> --
> Wendy
Thanks all for help. I added -Djava.awt.headless=true to Tomcat startup
options and everything works fine.
Regards
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
>
>>I found different stack trace than previously posted.Maybe this will be
>>more helpfull.
>>
>>2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
>>servlet action threw exception
>>java.lang.NoClassDefFoundError
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:141)
>> at
>>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
>> at java.awt.Font.initializeFont(Font.java:308)
>
>
> Are you running in a 'headless' environment? On Unix/Linux with no
> graphics libraries (such as X11) installed?
>
> This thread on the JFree forums might help:
> http://www.jfree.org/phpBB2/viewtopic.php?t=1012
>
> --
> Wendy
I'm running Linux Gentoo with X/KDE.
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
> I found different stack trace than previously posted.Maybe this will be
> more helpfull.
>
> 2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClassDefFoundError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
> at java.awt.Font.initializeFont(Font.java:308)
Are you running in a 'headless' environment? On Unix/Linux with no
graphics libraries (such as X11) installed?
This thread on the JFree forums might help:
http://www.jfree.org/phpBB2/viewtopic.php?t=1012
--
Wendy
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
>
>>Full stack trace in localhost_log is:
>>
>>2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
>>servlet action threw exception
>>java.lang.NoClassDefFoundError
>> at
>>org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
>> at
>>com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
>
>
> Make sure you've got exactly one copy of the classes that JFreeChart
> needs on the classpath.
>
> (Look in WEB-INF/lib and make sure all the required libraries are
> present. Also check that you don't have another copy somewhere else--
> common/lib or shared/lib for Tomcat. Sometimes having multiple copies
> of a class available will cause strange class loading errors.)
>
> If you haven't already, stop Tomcat and clean out the work directory
> for this webapp, then restart. (This is the equivalent of rebooting
> Windows and hoping the problem goes away-- it may not fix the problem
> but it isn't going to hurt anything.)
>
> It's probably working in Eclipse because you have the classpath set up
> properly, but when you build and deploy the webapp, something is
> missing or duplicated.
>
> --
> Wendy
I found different stack trace than previously posted.Maybe this will be
more helpfull.
2005-11-27 16:54:36 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at org.jfree.chart.axis.Axis.<clinit>(Axis.java:129)
at
org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
at
com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Regards
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
>
>>Full stack trace in localhost_log is:
>>
>>2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
>>servlet action threw exception
>>java.lang.NoClassDefFoundError
>> at
>>org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
>> at
>>com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
>
>
> Make sure you've got exactly one copy of the classes that JFreeChart
> needs on the classpath.
>
> (Look in WEB-INF/lib and make sure all the required libraries are
> present. Also check that you don't have another copy somewhere else--
> common/lib or shared/lib for Tomcat. Sometimes having multiple copies
> of a class available will cause strange class loading errors.)
>
> If you haven't already, stop Tomcat and clean out the work directory
> for this webapp, then restart. (This is the equivalent of rebooting
> Windows and hoping the problem goes away-- it may not fix the problem
> but it isn't going to hurt anything.)
>
> It's probably working in Eclipse because you have the classpath set up
> properly, but when you build and deploy the webapp, something is
> missing or duplicated.
>
> --
> Wendy
Hi
I copied all required libraries into my WEB-INF/lib library. My Eclipse
project uses libraries from this directory (except servlet-api.jar). The
only difference is that in Eclipse I have "JRE System library"
referenced. There are no duplicate jars in WEB-INF/lib and tomcat shared
directories. I have been restarting Tomcat many times. Still the same
exception.
Regards
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
> Full stack trace in localhost_log is:
>
> 2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClassDefFoundError
> at
> org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
> at
> com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
Make sure you've got exactly one copy of the classes that JFreeChart
needs on the classpath.
(Look in WEB-INF/lib and make sure all the required libraries are
present. Also check that you don't have another copy somewhere else--
common/lib or shared/lib for Tomcat. Sometimes having multiple copies
of a class available will cause strange class loading errors.)
If you haven't already, stop Tomcat and clean out the work directory
for this webapp, then restart. (This is the equivalent of rebooting
Windows and hoping the problem goes away-- it may not fix the problem
but it isn't going to hurt anything.)
It's probably working in Eclipse because you have the classpath set up
properly, but when you build and deploy the webapp, something is
missing or duplicated.
--
Wendy
Re: JFreeChart and Struts
Posted by Borut Hadžialić <bo...@gmail.com>.
Did you put JFreeChart jars into WEB-INF/lib directory of you web app?
On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
> Hi
>
> Full stack trace in localhost_log is:
>
> 2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
> servlet action threw exception
> java.lang.NoClassDefFoundError
> at
> org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
> at
> com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
> at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
> at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
>
>
> Regards
> --
> Daniel Łaś <da...@e-direct.pl>
>
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
Why?
Because YES!
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
Wendy Smoak napisał(a):
> On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
>
>
>>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.
>
>
> Without seeing more of the exception it's hard to tell. Can you find
> the full stack trace? For Tomcat, look in the localhost log, or the
> console/catalina.out.
>
> --
> Wendy
Hi
Full stack trace in localhost_log is:
2005-11-27 16:45:08 StandardWrapperValve[action]: Servlet.service() for
servlet action threw exception
java.lang.NoClassDefFoundError
at
org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:739)
at
com.edirect.pl.app.admin.struts.control.getGlobalVisitsHourChart.execute(getGlobalVisitsHourChart.java:36)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Regards
--
Daniel Łaś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/27/05, Daniel Łaś <da...@e-direct.pl> wrote:
> 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.
Without seeing more of the exception it's hard to tell. Can you find
the full stack trace? For Tomcat, look in the localhost log, or the
console/catalina.out.
--
Wendy
Re: JFreeChart and Struts
Posted by Daniel Łaś <da...@e-direct.pl>.
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ś <da...@e-direct.pl> 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ś <da...@e-direct.pl>
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: JFreeChart and Struts
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/25/05, Daniel Łaś <da...@e-direct.pl> 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