I am getting Type of expression is statically unknown
error in Eclipse for many standard groovy functions:
import groovy.util.slurpersupport.NodeChild
import groovy.xml.MarkupBuilder
import groovy.xml.StreamingMarkupBuilder
import groovy.xml.XmlUtil
import org.codehaus.groovy.tools.xml.DomToGroovy
...
v- here
def xmlRequest= new XmlSlurper().parseText(templateString.trim())
def outputBuilder = new StreamingMarkupBuilder()
v- and here
fw<< outputBuilder.bind{ mkp.yield xmlRequest }
Oh, yes, and the question is - what does it mean, please? This error is NOT widely known by google.
The error is real, it is not a problem that would be resolver by itself at run stage. On the contrary, the project won't run. ( it is a test and says : No JUnit tests found )