关于jfreechart在aix+was显示问题
现在我的用jfreechart做的图在tomcat下能正常显示
但在新环境中(aix5.3+was5.1)图片显示不出来,报错:
The following exception was logged java.lang.NoClassDefFoundError: org/jfree/chart/axis/CategoryAxis
at org.jfree.chart.ChartFactory.createLineChart(ChartFactory.java:995)
at com.sohoo.oarm.serviceImpl.group.AssociationGroupServiceImpl.getGroupEevoAnalyseOperationPic(AssociationGroupServiceImpl.java:881)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
网上查找相关资料,说是classpath不对,可在系统其他地方没有CategoryAxis.class,只在应用服务的lib下的jfreechart.jar下就这个CategoryAxis
另一种方案说是jar文件损坏了,把其他机器上能成功显示图片的jar拷贝过去,还是不可以!!!!!
很困惑......