ydeploy/core/resources/ant/macros.xml:167: javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number 2 at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)
The solution for this was:
Insert "load('nashorn:mozilla_compat.js')" before line 168 in macro : ydeploy/core/resources/ant/macros.xml
The final content becomes:
"
`
Githubissues.
Githubissues is a development platform for aggregating issues.
I have been experiencing this error:
ydeploy/core/resources/ant/macros.xml:167: javax.script.ScriptException: ReferenceError: "importClass" is not defined in <eval> at line number 2 at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)
The solution for this was: Insert "load('nashorn:mozilla_compat.js')" before line 168 in macro : ydeploy/core/resources/ant/macros.xml
The final content becomes: " `
Githubissues.