Jump to content

Expression Editor: how to add own Functions


luke2000

Recommended Posts

I am using Jaspersoft Studio 6.6 and try to add own functions to the Expression Editor.

Therefore i follow the tutorial here Jaspersoft Studio Expression Editor: how to extend it and contribute your own functions (part 2) - updated for version 5.5

All works fine but i had to replace the language of the generated report (SampleFunctionsReport.jrxml) from groovy to java to get rid of file not found exceptions

Finally after fixing this i still have the following Errors

Description    Resource    Path    Location    Type
The method HELLO_WORLD_MSG() is undefined for the type SampleFunctions_1541665022158_603382    SampleFunctionsReport.jrxml    /MyFunctions    line 37    JRXML Problem
The method HELLO_WORLD_MSG() is undefined for the type SampleFunctions_1541665022158_603382 value = HELLO_WORLD_MSG( );     SampleFunctionsReport.jrxml    /MyFunctions    line 0    JRXML Problem
The method REPEAT_MSG(String, int, boolean) is undefined for the type SampleFunctions_1541665022158_603382    SampleFunctionsReport.jrxml    /MyFunctions    line 52    JRXML Problem
The method REPEAT_MSG(String, int, boolean) is undefined for the type SampleFunctions_1541665022158_603382 value = REPEAT_MSG("A message that will be probably repeated",5,true);     SampleFunctionsReport.jrxml    /MyFunctions    line 0    JRXML Problem

I checked the tutorial a couple of times...
What am i missing?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...