如何解决java创建条形图中的异常?

时间:2015-12-26 19:19:53

标签: java netbeans jfreechart

我添加了三个库:1-jfreechart-1.0.14-swt 2-jfreechart-1.0.14 3-jcommon-1.0.17

使用此代码:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jfree/util/PublicCloneable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)

那是例外:

        <tr class="well-new" ng-repeat="product in gettempdata.FoodItems| orderBy:'Id' | filter:search"">
            <td class="tdCenter" >
               {{product.Id}}
            </td>
            <td class="tdCenter">
                <img ng-src="{{product.ImageUrl}}" alt="{{product.Name}}" />

            </td>

            <td>
                <a href="#Name" ng-click="GetItemDetails(product.Id)"><b>{{product.Name}}</b></a><br />
                {{product.Category}}
            </td>
        </tr>
    </table>  

0 个答案:

没有答案