Home > Java Lang Noclassdeffounderror Could > Java.lang.noclassdeffounderror Could Not Initialize Class Org.jfree.chart.jfreechart

Java.lang.noclassdeffounderror Could Not Initialize Class Org.jfree.chart.jfreechart

The data directory contains a directory called entities. We will activate headless mode on startup.

Status Issue is closed for Release 0.16. more hot questions question feed lang-java about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Can you help me, please? http://jessriegel.com/java-lang-noclassdeffounderror-could/java-lang-noclassdeffounderror-could-not-initialize-class-sun-awt-x11graphicsenvironment.html

Start Tomcat again.Another possibility could be, that you installed a conflicting jfreechart-???.jar into the global tomcat lib directory.To prevent such problems in the future, we have sto156, which should make it Fri, Nov 26, 2010, 00:14 by Witek (SM,T) Your Tomcat should have extracted the kunagi.war file into the kunagi directory. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed How to choose origin in rotational problems to calculate torque?// Is torque frame dependent?

Why was this unhelpful? Yes No Thanks for your feedback! If your are using Apache Maven kindly include the following dependency in pom.xml jfree jfreechart 1.0.13 share|improve this answer answered Aug 19 '13 at 5:57 user2339071 2,68911139

Please check if kunagi/WEB-INF/lib/jfreechart-???.jar exists.Then you could stop Tomcat and delete the kunagi web application directory, which is in the same directory as the kunagi.war file. Unset the DISPLAY variable or enable java.awt.headless property. Reply With Quote Quick Navigation BI Platform Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Pentaho Users BI Platform Pentaho Reporting Pentaho Data Integration [Kettle] Maybe adding this solution in JIRA is enough ...

be killed in the war vs be killed by the war How can I turn rolled oats into flour without a food processor? Your JDK *should* have complained about not being able to connect to the X-Server - funny that it decided to report a ClassNotFoundExceptions instead. MauricioF mfacontactoATonoDOTcom ciuciu Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post a reply 3 posts • Page 1 asked 2 years ago viewed 1454 times active 2 years ago Linked 1 Could not initialize class org.jfree.chart.JFreeChart Related 17How to display performance test results on Jenkins2Jenkins class TransientBuildActionFactory how to

Not the answer you're looking for? Atlassian current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Anyway I couldn't find it in any knowledge base. Did it happen only once or every time?

The following appears in the atlassian-jira.log: SEVERE: Internal server error java.lang.NoClassDefFoundError: Could not initialize class org.jfree.chart.JFreeChart at org.jfree.chart.ChartFactory.createStackedBarChart(ChartFactory.java:679) at com.atlassian.jira.charts.jfreechart.StackedBarChartGenerator.generateChart(StackedBarChartGenerator.java:48) at com.atlassian.jira.charts.RecentlyCreatedChart.generateChart(RecentlyCreatedChart.java:91) Cause Generally, a NoClassDefFoundError occurs when a plugin is https://groups.google.com/d/topic/jenkinsci-users/o_Dr7Tn0i3U The Web-CAT exception page cites the following Java exception: Error: java.lang.NoClassDefFoundErrorReason: Could not initialize class org.jfree.chart.JFreeChart Or possibly: Error: java.lang.NoClassDefFoundErrorReason: Could not initialize class sun.awt.X11GraphicsEnvironment If this occurs, check the environment variables for the pseudo-user What to do when using your private key from another computer? Best regards, /Ángel –Angel Aug 19 at 14:54 Jenkins running in a Docker container, Jenkins ver. 2.19, openjdk version "1.8.0_102", Jenkins command ` /usr/bin/java -Djava.awt.headless=true -Xmx2g -Xms512m -XX:MaxPermSize=1g -Djenkins.install.runSetupWizard=false

All rights reserved. have a peek at these guys Would presence of MANPADS ground the entire airline industry? Since the restart of the Tomcat with all projects the charts are disturbed. Can you see the JfreeChart jar in your target folder once you build the application.. ? –user2339071 Aug 19 '13 at 7:00 I have add the JAR directly and

After an upgrade? Anyway I couldn't find it in any knowledge base. Unsold Atari videogames dumped in a desert? check over here Buy | Products | Support & Services | Partners | Community | Solutions | About US and Worldwide: +1 (866) 660-7555 Register Help Remember Me?

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter Linked 10 TOMCAT_OPTS, environment variable and System.getEnv() 2 Performance graphs Unset the DISPLAY variable or enable java.awt.headless property. Jenkins really gathers the results because it shows me the response times, but can't show me the graphs.

In some cases, the versions may be correct, and an environment classloading issue has caused the error.

Thank you. Theorems demoted back to conjectures Is the effect of dollar sign the same as textit? Regards, Thomas Taqua JFreeReport Project Leader Posts: 698Joined: Fri Mar 14, 2003 3:34 pm Website Top by ciuciu » Thu Sep 08, 2005 5:52 pm Thank you Thomas. I'm running Jenkins as a webapp on my Tomcat, then I just added this line to my /opt/tomcat/bin/catalina.sh : CATALINA_OPTS=-Djava.awt.headless=true I wanted you to share this solution.

Removing the environment variable setting for the Tomcat user will fix this problem. I'm using Maven to import all my Library's my repository's was: java.net2 Repository hosting the jee6 artifacts http://download.java.net/maven/2 JBoss repository https://repository.jboss.org/nexus/content/groups/public-jboss/ org.openfaces http://repository.openfaces.org/repository Could aliens colonize Earth without realizing humans are people too? http://jessriegel.com/java-lang-noclassdeffounderror-could/java-lang-noclassdeffounderror-could-not-initialize-class-db-hibernateutil.html Pentesting against own web service hosted on 3rd party platform Does a byte contain 8 bits, or 9?

Products Pentaho BI Suite - Pentaho Reporting - Pentaho Analysis - Pentaho Dashboards - Pentaho Data Integration (ETL) - Pentaho Data Mining On-Demand BI Subscription Demos / Recordings, White Papers Test Post a reply 3 posts • Page 1 of 1 java.lang.NoClassDefFoundError unidentified by ciuciu » Wed Sep 07, 2005 6:57 pm Hello,I have a web application under a server Linux RH, Show Manuel Carrasco added a comment - 2014/Feb/18 8:16 AM Not a bug, that happens when running jenkins in a computer with a XServer DISPLAY set. but let me suggest you to try to add it somewhere in plugin's documentation, for example on "Configuration" section found here https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin The solution is just adding -Djava.awt.headless=true I'm running Jenkins

Thu, Nov 25, 2010, 16:58 by Axel Jung We have changed the server address and are now using SSL.