Posted by abloz on January 29, 2016


java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart

Somebody helped me to solve it here :!topic/jenkinsci-users/o_Dr7Tn0i3U

It’s not a bug in Jenkins but a miss-configuration. Anyway I couldn’t find it in any knowledge base. Maybe adding this solution in JIRA is enough … but let me suggest you to try to add it somewhere in plugin’s documentation, for example on “Configuration” section found here

The solution is just adding


I’m running Jenkins as a webapp on my Tomcat, so I just added this line to my /opt/tomcat/bin/ :