开发者

generate jasper report problem in jar file "Lorg"

开发者 https://www.devze.com 2023-04-01 08:24 出处:网络
java.lang.NoClassDefFoundError: Lorg/jfree/chart/plot/PlotOrientation; at java.lang.Class.getDeclaredFields0(Native Method)
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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号