我的Linux机器有OS :Ubuntu18.04.3 LTS,目前它有groovy版本:WARNING: An illegal reflectivereflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/share/groovy/lib/groovy-2.4.16operations
WARNING: All illegal access operati
) ~[groovy-all-2.4.16.jar:2.4.16] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) ~[groovy-all-2.4.16.jar:2.4.
.jar:2.4.16 at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1504) ~groovy-all-2.4.16:52) ~groovy-all-2.4.16.jar:2.4.16 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) groovy-all-2.4.16.jar:2.
groovy.lang.MissingPropertyException:没有此类属性:类发票: Script117 at javax.script.CompiledScript.eval ~groovy-all-2.4.16.jar:2.4.16 at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:72) ~groovy-al-2.4.16.jar:2.4.16 at javax.script.Compiled
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:162) ~[groovy-all-2.4.16.jar:2.4.16] at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptE
我试图在Groovy2.4.16版本中计算一个sha256哈希。这是J测测试的一部分,也是它支持的Groovy版本,我认为我无法改变这一点。org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:324) ~[groovy-all-2.4.16.jar:2.4.16]
at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.ja