I was excited to use JasperSoft Studio to start editing labels, but following the instructions and loading the label it gives me the following error message:
edu.ku.brc.specify.config.Scriptlet cannot be resolved to a type
Also there’s something about a browser configuration:
After taking a look, it appears that the scriptletClass="edu.ku.brc.specify.config.Scriptlet" XML attribute causes Jaspersoft Studio to be unable to render a preview of the report.
The report must know where to get the scriptlet and this is set in the ‘Report Properties.’ In the SpecifyiReports application click on the ‘Edit’ menu and then ‘Report Properties.’ The dialog will have a tab named ‘Scriptlet Class’, click on the tab. In the dropdown list select 'Use this scriptlet class…" and then enter the following value:
edu.ku.brc.specify.config.Scriptlet
It does not prevent Specify 7 from running the report, but you will not be able to compile the report in Jaspersoft Studio to ensure your changes are working before moving back into Specify 7.
You can remove the scriptletClass="edu.ku.brc.specify.config.Scriptlet" component if you are not using any scriptlets in the report itself.
All the reports were indeed created in SpiReport and I was looking forward to using a better program, because SpiReport is excruciatingly slow and clunky.
The previewing in JS Studio works by removing that attribute, but think I do use the scriptlet for that particular report. But it’s hard to test in JasperSoft Studio, since I cannot figure out how to set up the data connection. I have added the Data Adapter to a localhost db server copy that is running, but it’s unclear how to get the fields filled with actual data from it.