I'm having trouble using joda-time in my scala project in scala-ide. I have the following line:
import org.joda.time.DateTime
But it causes the following error: object joda is not a member of package org
That's what I did:
I put these lines in build.sbt
:
libraryDependencies += "joda-time" % "joda-time" % "2.9.3"
libraryDependencies += "org.joda" % "joda-convert" % "1.8"
Then I ran reload
in my sbt
session.
Then I ran update
in my sbt
session.
So what did I miss?