Skip to content

Conversation

yanoosh
Copy link
Contributor

@yanoosh yanoosh commented Feb 16, 2014

org.fusesource.scalate use reflection in version 2.10.0 and scallop in version 0.9.4 use reflection in version 2.10.1. When I try to run codegen in IDE or use it as dependency (local maven) then compiler throw error

Exception in thread "main" org.fusesource.scalate.TemplateException: scala.reflect.internal.TreeInfo.firstArgument(Lscala/reflect/internal/Trees$Tree;)Lscala/reflect/internal/Trees$Tree;
    at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:732)
    at org.fusesource.scalate.TemplateEngine.compile(TemplateEngine.scala:346)
    at com.wordnik.swagger.codegen.Codegen.compileTemplate(Codegen.scala:185)
    at com.wordnik.swagger.codegen.Codegen$$anonfun$3.apply(Codegen.scala:140)

I can not find newer stable version of org.fusesource.scalate so change scallop version to older is way to redeem the problem.

fehguy added a commit that referenced this pull request Feb 19, 2014
@fehguy fehguy closed this Feb 19, 2014
@yanoosh yanoosh deleted the scallop-version branch February 19, 2014 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants