Cucumber + Custom Keywords

Is there any way to import the entire package of each page defined in the Keywords? I am trying to implement POM and I want to avoid the syntax of this type CustomKeywords.‘com.pageobjectmodel.PageLogin.insertKeys’ (findTestObject … To call a defined method in the Keywords

When I have more than 2 calls to keywords, it only performs the call correctly to one of them, telling me that the method called on the second occasion is not defined … But if I delete the one that worked for me and left only the one that did not work, yes that works.

groovy.lang.MissingMethodException: No signature of method: static is applicable for argument types: (com.kms.katalon.core.testobject.TestObject, org.codehaus.groovy.runtime.GStringImpl)