avatria / ydeploy

A hybris build and deployment framework
https://avatria.github.io/ydeploy/
Apache License 2.0
19 stars 4 forks source link

Java 8 JavaScript error #2

Closed zamariola closed 8 years ago

zamariola commented 8 years ago

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.
  • Githubissues is a development platform for aggregating issues.