Cannot resolve method Logger.apply
I've created a simple sbt-based Scala project that includes scalalogging as a dependency. For some reason this project can be successfully compiled and run using sbt 13, but IDEA 14 & Scala plugin issue the following errors:
- Cannot resolve method Logger.apply
- Cannot resolve symbol println
- Cannot resolve symbol debug
A git repo that includes more details and a demonstration of this issue can be found here:
https://github.com/marko-asplund/idea-scala-logging
Is this an issue with my environment or is it a bug?
marko
Please sign in to leave a comment.
Looks like https://youtrack.jetbrains.com/issue/SCL-8025. Try File -> Invalidate Caches.
Or update to EAP build of Scala plugin. Fix will be available soon in Scala plugin 1.3.
Best regards,
Alexander Podkhalyuzin.
Yeah, cache invalidation appears to fix this issue. Thanks!
Any estimate on when v1.3 will be available?
best regards,
marko
We are waiting for IDEA 14.0.3. Plus I have concerns about one performance regression: https://youtrack.jetbrains.com/issue/SCL-8205
If I'll get possibility to diagnose it, release will be probably delayed until I'll fix it.
Best regards,
Alexander Podkhalyuzin.