Jump to content
We've recently updated our Privacy Statement, available here ×

Problem importing custom class when using Studio as Eclipse Plugin


marc_d

Recommended Posts

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

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...