IntelliJ SBT Imports not working

Hi,

It seems SBT Auto Import is not working.

For example in my build.sbt I specified the following:


libraryDependencies += "io.dropwizard" % "dropwizard-core" % "1.2.2"
libraryDependencies += "com.cloudinary" % "cloudinary-taglib" % "1.18.0"
libraryDependencies += "com.cloudinary" % "cloudinary-http44" % "1.18.0"

If I refresh the project I see that Intellij is importing the dependencies and in external libraries I also see them.

But if I  want to import them in my classes Intellij doesnt make any autocompletion, and shows a error, but with sbt clean assembly I can package the project regulary.

 

Thanks

2 comments
Comment actions Permalink

I tried making a project with these dependencies and the import and completion works fine for me. Perhaps you are trying to use these classes in a module that does not import them?

If the problem persists, please open an issue on https://youtrack.jetbrains.com/issues/SCL and attach a project that reproduces it.

0
Comment actions Permalink

The very same thing happens to me (2018.1).  Was an issue opened?

0

Please sign in to leave a comment.