After that, I went here (http://struts.apache.org/2.x/docs/jfreechart-plugin.html), I add the dependencies for commons-lang-2.5.jar, jcommon-1.0.16.jar and jfreechart-1.0.13.jar and I modify the example downloaded from code.google.com to see how JFreeChart is working, but I receive this error:
At the line 36 in struts.xml is the this code (the code from struts2 website):
No, the problem was solved--you just have a different problem now :)
Make sure devMode is turned on, possibly set your log level to DEBUG, check the log for errors on startup, and when you hit the action.
What libraries are you deploying?
Peter Mest
Ranch Hand
Joined: Aug 14, 2009
Posts: 30
posted
0
commons-lang-2.5.jar -> This is for the example on the webpage
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
struts2-jfreechart-plugin-2.1.8.1.jar -> This I forgot to add first time.
Now, in Eclipse I receive this exception
I think I you'll give up solving this problem... using Eclipse :). I just imported the project in IDEA (without doing anything else) and the chart is working :banghead: .
Without knowing how you were handling Maven dependencies in Eclipse, or how you were running/testing/etc. it'll be tough to help--but glad it works somewhere.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.