generate jasper report problem in jar file "Lorg"
java.lang.NoClassDefFoundError: Lorg/jfree/chart/plot/PlotOrientation;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredField(Unknown Source)
at java.io.ObjectStreamClass.get开发者_如何转开发DeclaredSUID(Unknown Source)
hi guys i am new to jasper, trying to create a simple report with pie chart included jars jfreechart -1.0.0 and jcommon 1.0.0 please suggest what i am doing wrong , it has class file in org/jfree/chart/plot/PlotOrientation; but not in Lorg/jfree/chart/plot/PlotOrientation;
Make sure the dependencies (jars) are in your classpath. You can specify the classpath with the java -cp /path/to/classes
switch. If this is a web application, put the dependent jars in the WEB-INF/lib
folder.
精彩评论