|
|
Re: Error accesing java classes from a scripted dataset [message #630078 is a reply to message #630052] |
Thu, 30 September 2010 15:09 |
|
I think this was an issue in version 2.2.1. While previewing the
dataset the call will fail, but if you drag the dataset onto the canvas
and preview the report it should work.
You can try putting your classes in a Package and then jar it.
Then put the jar in the scriptlib folder of the plugin.
Change your code to something like:
importPackage( Packages.my.test.obj );
gsh = new StockDaoMock();
This will still only work in preview of the report not the datset.
If you create a java project in the workspace with the classes then it
will work for preview. These issues have been fixed in the last couple
versions of BIRT.
Jason
On 9/30/2010 10:05 AM, Rajesh Indurthi wrote:
> Any insights on the problem Iam facing!!! This is driving me nuts so any
> help is highly appreciated..Please !!!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03186 seconds