marc_d Posted September 9, 2021 Share Posted September 9, 2021 I've created a custom class I use as a "DateHelper" for setting time ranges in report parameters. In the standalone Jaspersoft Studio, I include my .jar file in the project's Build Path and import the class in the report. This works. If I do the exact same thing using the Eclipse plugin of Jasper Studio, the report will not compile. I get the following error:Only a type can be imported. gms.reporting.DateHelper resolves to a package When I set the import field in the report designer, the search assistant will find the class just fine. For some reason, it does not seem to be available to compile the report and I am not sure where else to look to resolve the problem.Currently using Eclipse for Committers, 2020-03 with the latest, 6.17, version of the Studio plugin. Link to comment Share on other sites More sharing options...
marc_d Posted October 28, 2021 Author Share Posted October 28, 2021 Seems the issue is with Studio version 6.17.There is a patchfile in this issue: https://community.jaspersoft.com/jaspersoft-studio/issues/13591that can be copied into {Eclipse root}/plugins/ to fix the probem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now