Table Grid addRows with Java API error in Jira

In Jira, I want to use addRows function with Java API in Scriptrunner, provided by Table Grid Next Generation plugin, but, I can’t use beacuse of an error, which is not caused by syntaxis problem, since I take the example from the recomended code given by plugin. When I use the recommended code in documantation I get the error like this: java.lang.NoClassDefFoundError: com/atlassian/jira/projectconfig/fields/ScreenFinder