[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


NetBeans 5.5.1 with VWP: Problem with ObjectArrayDataProvider, GenericDataSet and JSC Chart component

Posted on 2007-10-09
Medium Priority
Last Modified: 2013-11-24
I'm using NetBeans 5.5.1 IDE with Visual Web Pack (VWP) to develop a web application. The OS: Linux FC6, The Server: Sun Java System Application Server.
One of my JSPs is to render a bar-chart graph.
I've successfully installed JSC chart components and these components are visible on the VWP palette.
1. I successfully retreave from database COUNT(*)s data to be bar-charted. These data values I store in a SessionBean1 Object Array
2. I also have an Object Array Data Provider (OADP) in SessionBean1. This OADP obtains data from the above mentioned object array.
3. I've used the Object Array Data Provider to provide data to a genericDataSet object
4. I've dropped a bar-chart component onto a JSF design page and selected the above mentioned genericDataSet object as the data source for the bar-chart component; expecting a bar chart of the COUNT(*)s when the application is run. But alas, there is no bar-chart rendered (It does not appear on the output page).

I get the following WARNING:

java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.rave.propertyeditors.StringPropertyEditor
      at net.sf.jschart.component.AbstractBeanInfo.loadClass(AbstractBeanInfo.java:257)

I'd appreciate your help in resolving this issue.
Question by:Rrugemalira
LVL 27

Accepted Solution

mrcoffee365 earned 2000 total points
ID: 20050955
We don't have VWP, etc. in our configuration, so I waited to see if someone with more knowledge could answer.  However, it's usually easy to get rid of ClassNotFound errors by finding the jar that has that class.

In this case,
is found in

According to the documentation, you need 2 jars which are are located in rave2.0/modules directory in Studio Creator:
webui-dt.jar, com-sun-rave-designtime.jar

Probably you should put them in your WEB-INF/lib directory.

This blog entry has a description of installing VWP at the bottom of the page:

The reason that you don't find this out at the compile time for your JSP page is that the rave-designtime class is loaded at run time.

Expert Comment

ID: 20439033
Forced accept.

EE Admin

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question