Replies: 2 comments
-
This "UNRESOLVED DEPENDENCIES" error occurs because you are using Scala 3, but the libraries you want to use are not published for Scala 3 yet. Look here at the bottom: https://repo1.maven.org/maven2/com/iterable/ -> swagger-play is "only" published for Scala 2.13, 2.12, etc. BTW: Using Scala 3 with Play 2.8 will never work because we do not support Scala 3 in Play 2.8. To use Scala 3, Play 2.9 is required. Possible solutions for you are now:
libraryDependencies +=
("com.iterable" %% "swagger-play" % "2.0.1").cross(CrossVersion.for3Use2_13) Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion. It works if I use Scala version 2.13.9. |
Beta Was this translation helpful? Give feedback.
-
I am trying 2.9.0 ahead with RC2. During the project built I have seen some libraries referencing with an extra _3. I am not sure what it is referencing to. For example
The original dependency I have is com.iterable#swagger-play;2.0.1
But for some reason play 2.9.0 throwing un resolved dependency by adding _3 at the end.
I had another selenium remote driver dependency with the same issue.
SBT version: 1.9.6
Scala version: 3.3.1, but the issue persists with 2.8.1 also
Java version: 11.0.1
Play version: 2.9.0-RC2
Please suggest any solutions. Thanks
Beta Was this translation helpful? Give feedback.
All reactions