Closed trane closed 8 years ago
@trane hey, thank you very much for the bug report. We are currently redesigning the whole generated code for play content-negotiation and parsing, I'll take a look at this issue as a part of it
Also experiencing this issue.
I pushed this fix.
@eyasuyuki cool, thank you
@slavaschmidt Would mind releasing the fix?
@eyasuyuki Thanks for the fix!
@shuhei sure, I need some short time to prepare other changes, the next version follows really soon. Sorry for letting you wait
Hi, I'm just getting started with Play and Swagger. I've generated a project using activator new and the api-first-hand template, and get the NoSuchMethod error when I run it. Has this fix been released yet ? If so, how can I get hold of the new template ?
Many thanks.
@Jack-Welch hey, sorry for the inconvenience. The fix has been released and I will update the activator template today.
@slavaschmidt Thanks for releasing it!
@shuhei you're welcome, sorry it took so long
@Jack-Welch just published an updated template
Actually, you could just change the plugin version in project/plugins.sbt
from 0.1.16
to 0.1.18
if you like
@slavaschmidt Many thanks - project now up and running.
I successfully used the activator playground template a week ago, but now I am getting the following error: In a newly activator created playground:
[error] (compile:swaggerParseSpec) java.lang.NoSuchMethodError: me.andrz.jackson.JsonContext.<init>(Ljava/io/File;I)V
Which is called from https://github.com/zalando/api-first-hand/blob/master/swagger-model/src/main/scala/de/zalando/swagger/StrictParser.scala#L35A few things I noticed:
(File, Int)
for aJsonContext
that I could findHere is the stack trace when running
sbt compile