Hi,
I try to use Play's Javascript asset compiler but run into the "Parse error. XML runtime not available" issue, even with extremely simple examples. The example I've tried:
@(s: String)
var weconfig = {
"wsurl": 1
}
The exception I get:
! @6gb7i34j5 - Internal server error, for (GET) [/runWorkflow?id=147] ->
play.PlayExceptions$AssetCompilationException: Compilation error[Parse error. XML runtime not available]
at play.core.jscompile.JavascriptCompiler$.compile(JavascriptCompiler.scala:59) ~[na:na]
at play.PlayAssetsCompiler$$anonfun$JavascriptCompiler$3.apply(PlayAssetsCompiler.scala:96) ~[na:na]
at play.PlayAssetsCompiler$$anonfun$JavascriptCompiler$3.apply(PlayAssetsCompiler.scala:96) ~[na:na]
at play.PlayAssetsCompiler$$anonfun$AssetsCompiler$1$$anonfun$3.liftedTree1$1(PlayAssetsCompiler.scala:52) ~[na:na]
at play.PlayAssetsCompiler$$anonfun$AssetsCompiler$1$$anonfun$3.apply(PlayAssetsCompiler.scala:51) ~[na:na]
at play.PlayAssetsCompiler$$anonfun$AssetsCompiler$1$$anonfun$3.apply(PlayAssetsCompiler.scala:48) ~[na:na]
What I find strange, is, that certain examples may compile if I hit refresh a number of times... So, the compilation does not seem fully deterministic.
Did someone else experience the same issue and can shed some light on what is going on here?
Thanks & Best regards,
Martin