use of JRBeancollectionDataSource in Jasper Studio

I am trying to use JRBeancollectionDataSource in Jasper Studio (1.0.3). When creating a Data adapter, my factory being :

<code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(238, 238, 238); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial initial; background-repeat: initial initial; ">public class MyDS {   public static final Collection<MyPojo> getBeanCollection() {     return new ArrayList<MyPojo>();   } }

I get a ClassNotFoundException when testing the adapter (getBeanCollection() being the method specified to retrieve the collection). My class is compiled within the project.

Anything obvious I am missing ?

Thanks,

Chamaster

chamaster's picture
Joined: Sep 3 2008 - 8:16am
Last seen: 15 years 3 weeks ago

0 Answers:

No answers yet
Feedback
randomness