Reputation: 6606
I'm following the sbt directions here:
The instructions say to include this in my build.sbt file:
libraryDependencies += "org.apache.lucene" % "lucene-core" % "6.4.1"
But When I put that into IntelliJ, it gives the error: unresolved artifact. Not resolved or indexed.
I'm new to Scala and SBT. Can someone help?
Upvotes: 4
Views: 3972
Reputation: 14227
After you add library you need to refresh SBT project. you can move cursor to this error, and Option+Enter in mac or Alt+Enter in Windows/Linux for Refresh project. like:
Upvotes: 7