java.lang.NoClassDefFoundError
org.jfree.chart.axis.Axis.
at org.jfree.chart.axis.CategoryAxis.
at org.jfree.chart.axis.CategoryAxis3D.
at org.jfree.chart.ChartFactory.createBarChart3D(ChartFactory.java:507)
解决的办法是:
编辑/etc/profile文件,在最后加入export CATALINA_OPTS='-Djava.awt.headless=true'
即可