title: Scala Play 2.5 object ws is not a member of package play.api.libs
body: <p>I'm trying to use the WS library in Play, but the import shown in all the tutorials I found doesn't work.</p>
  
  <p>Has it changed somehow and the tutorials were not updated or is there something wrong with my setup?</p>
  
  <p>I'm using:
  Scala 2.11
  Play 2.5</p>
  
  <p>This is in my build.sbt:</p>
  
  <pre><code>libraryDependencies ++= Seq(
     ws
  )
  </code></pre>
  
  <p>This is the import in the code:</p>
  
  <pre><code>import play.api.libs.ws._
  </code></pre>
  
  <p>And this is the error:</p>
  
  <p><code>object ws is not a member of package play.api.libs</code></p>
  
  <p>Note: I saw the WS library was made optional in version 2.4 according to: <a href="https://www.playframework.com/documentation/2.4.x/Migration23#Play-WS" rel="nofollow noreferrer">https://www.playframework.com/documentation/2.4.x/Migration23#Play-WS</a></p>
  
  <p>I tried using this import: <code>import play.api.Play.current</code> but I still get errors</p>
  
  <p>Any ideas?</p>