I'm using Java Play 2.5 and I'm trying to add the Swagger plugin to my 
project.


In build.sbt I added the following code:

libraryDependencies += "io.swagger" %% "swagger-play2" % "1.5.3"


In application.conf I added the following:

play.modules {
  enabled += "play.modules.swagger.SwaggerModule"}


Then I ran "sbt clean compile" - It compiled successfully.


But when I try to use it in my code:

import io.swagger.*;


I get the following error:

"error: package io does not exist"


Any idea how to solve that?



-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to