I am working with the latest IntelliJ 14 edition with all the latest plugins. Also, I am on Mac Yosemite.
I am trying to simply import scala reflect so I can work with TypeTag
When I try to do this...
import scala.reflect.runtime.universe._
IntelliJ is complaining that it doesn't know what that is. When I try to go through code assist, it also cannot see a runtime
package inside of scala.reflect
I see the scala-reflect library in the project settings. I also tried adding by hand the scala-reflect as a libraryDependency
of the project. Nothing seems to be working.
Anyone else hit this issue?
Go to your project structure and check the dependency of you module. Make sure that org.scala-lang:scala-reflect:VERSION:jar has scope set to compile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With