org.fusesource.scalate.CompilerException: Compilation failed: :2.9 error: identifier expected but 'var' found. package var.tmp ^

activemq-dev | Apache Hudson Server | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Build failed in Hudson: ActiveMQ-Apollo #36

    activemq-dev | 6 years ago | Apache Hudson Server
    org.fusesource.scalate.CompilerException: Compilation failed: :2.9 error: identifier expected but 'var' found. package var.tmp ^
  2. 0

    Build failed in Hudson: ActiveMQ-Apollo #85

    activemq-dev | 6 years ago | Apache Hudson Server
    org.fusesource.scalate.CompilerException: Compilation failed: :2.9 error: identifier expected but 'var' found. package var.tmp ^

    Root Cause Analysis

    1. org.fusesource.scalate.CompilerException

      Compilation failed: :2.9 error: identifier expected but 'var' found. package var.tmp ^

      at org.fusesource.scalate.TemplateEngine.compileAndLoad()
    2. ${project.artifactId}
      TemplateEngine$$anon$2$$anonfun$render$1.apply
      1. org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:731)
      2. org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:685)
      3. org.fusesource.scalate.TemplateEngine.compile(TemplateEngine.scala:258)
      4. org.fusesource.scalate.TemplateEngine.compileText(TemplateEngine.scala:249)
      5. org.fusesource.scalate.TemplateEngine$$anonfun$filter$1$$anon$3.filter(TemplateEngine.scala:131)
      6. org.fusesource.scalate.TemplateEngine$$anon$2$$anonfun$render$1.apply(TemplateEngine.scala:638)
      7. org.fusesource.scalate.TemplateEngine$$anon$2$$anonfun$render$1.apply(TemplateEngine.scala:637)
      7 frames
    3. Scala
      List.foreach
      1. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
      2. scala.collection.immutable.List.foreach(List.scala:45)
      2 frames
    4. ${project.artifactId}
      DefaultRenderContext.include
      1. org.fusesource.scalate.TemplateEngine$$anon$2.render(TemplateEngine.scala:637)
      2. org.fusesource.scalate.RenderContext$$anonfun$include$1.apply(RenderContext.scala:267)
      3. org.fusesource.scalate.RenderContext$$anonfun$include$1.apply(RenderContext.scala:267)
      4. org.fusesource.scalate.RenderContext$class.withUri(RenderContext.scala:423)
      5. org.fusesource.scalate.DefaultRenderContext.withUri(DefaultRenderContext.scala:30)
      6. org.fusesource.scalate.RenderContext$class.include(RenderContext.scala:267)
      7. org.fusesource.scalate.DefaultRenderContext.include(DefaultRenderContext.scala:30)
      8. org.fusesource.scalate.RenderContext$class.include(RenderContext.scala:257)
      9. org.fusesource.scalate.DefaultRenderContext.include(DefaultRenderContext.scala:30)
      10. org.fusesource.scalate.RenderContext$class.include(RenderContext.scala:256)
      11. org.fusesource.scalate.DefaultRenderContext.include(DefaultRenderContext.scala:30)
      11 frames
    5. scalate.layouts
      $_scalate_$default_jade.render
      1. scalate.layouts.$_scalate_$default_jade$.$_scalate_$render(default.jade.scala:125)
      2. scalate.layouts.$_scalate_$default_jade.render(default.jade.scala:217)
      2 frames
    6. ${project.artifactId}
      DefaultLayoutStrategy$$anonfun$1.apply
      1. org.fusesource.scalate.layout.DefaultLayoutStrategy.org$fusesource$scalate$layout$DefaultLayoutStrategy$$tryLayout(DefaultLayoutStrategy.scala:75)
      2. org.fusesource.scalate.layout.DefaultLayoutStrategy$$anonfun$1.apply(DefaultLayoutStrategy.scala:57)
      3. org.fusesource.scalate.layout.DefaultLayoutStrategy$$anonfun$1.apply(DefaultLayoutStrategy.scala:57)
      3 frames
    7. Scala
      List.find
      1. scala.collection.LinearSeqOptimized$class.find(LinearSeqOptimized.scala:102)
      2. scala.collection.immutable.List.find(List.scala:45)
      2 frames
    8. ${project.artifactId}
      TemplateEngine.layout
      1. org.fusesource.scalate.layout.DefaultLayoutStrategy.layout(DefaultLayoutStrategy.scala:57)
      2. org.fusesource.scalate.TemplateEngine$$anonfun$layout$1.apply(TemplateEngine.scala:462)
      3. org.fusesource.scalate.TemplateEngine$$anonfun$layout$1.apply(TemplateEngine.scala:462)
      4. org.fusesource.scalate.RenderContext$.using(RenderContext.scala:50)
      5. org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:462)
      6. org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:494)
      7. org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:511)
      8. org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:505)
      8 frames
    9. org.fusesource.scalate
      SiteGenNoForkMojo$$anonfun$processFile$1$1.apply
      1. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$1.apply(SiteGenMojo.scala:151)
      2. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$1.apply(SiteGenMojo.scala:151)
      2 frames
    10. ${project.artifactId}
      ClassLoaders$.withContextClassLoader
      1. org.fusesource.scalate.util.ClassLoaders$.withContextClassLoader(ClassLoaders.scala:85)
      1 frame
    11. org.fusesource.scalate
      SiteGenNoForkMojo$$anonfun$processFile$1$2.apply
      1. org.fusesource.scalate.maven.SiteGenNoForkMojo.processFile$1(SiteGenMojo.scala:151)
      2. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$2.apply(SiteGenMojo.scala:138)
      3. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$2.apply(SiteGenMojo.scala:133)
      3 frames
    12. Scala
      ArrayOps.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
      2. scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:34)
      2 frames
    13. org.fusesource.scalate
      SiteGenNoForkMojo$$anonfun$processFile$1$2.apply
      1. org.fusesource.scalate.maven.SiteGenNoForkMojo.processFile$1(SiteGenMojo.scala:133)
      2. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$2.apply(SiteGenMojo.scala:135)
      3. org.fusesource.scalate.maven.SiteGenNoForkMojo$$anonfun$processFile$1$2.apply(SiteGenMojo.scala:133)
      3 frames
    14. Scala
      ArrayOps.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
      2. scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:34)
      2 frames
    15. org.fusesource.scalate
      SiteGenNoForkMojo.execute
      1. org.fusesource.scalate.maven.SiteGenNoForkMojo.processFile$1(SiteGenMojo.scala:133)
      2. org.fusesource.scalate.maven.SiteGenNoForkMojo.processRootDir$1(SiteGenMojo.scala:173)
      3. org.fusesource.scalate.maven.SiteGenNoForkMojo.execute(SiteGenMojo.scala:176)
      3 frames
    16. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      1 frame
    17. Hudson M2
      PluginManagerInterceptor.executeMojo
      1. hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
      1 frame
    18. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      7. org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      9 frames
    19. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      1 frame
    20. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    21. Plexus
      Launcher.launch
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      2 frames
    22. Hudson M2
      Main.launch
      1. hudson.maven.agent.Main.launch(Main.java:165)
      1 frame
    23. Hudson Maven Embedder
      MavenModuleSetBuild$Builder.call
      1. hudson.maven.MavenBuilder.call(MavenBuilder.java:165)
      2. hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:750)
      3. hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:694)
      3 frames
    24. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    25. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames