Я использую Jaspersoft Studio
6.6 и пытаюсь добавить собственный functions
к Expression Editor
.
Поэтому я следую учебному пособию Редактор выражений Jaspersoft Studio: как его расширить и добавить свои собственные функции (часть 2) - обновлено до версии 5.5 (мне не удалось найти более свежую версию, поэтому я угадай, это должно быть правильно)
Все работает нормально, но мне пришлось заменить язык сгенерированного отчета (SampleFunctionsReport.jrxml
) с groovy
на java
, чтобы избавиться от class not found exceptions
Наконец, остаются следующие ошибки:
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
Я пару раз проверил пункты урока ...
кто-то может воспроизвести мою проблему?
Чего мне не хватает?