IntelliJ "Cannot resolve symbol", but jar is present in libraries
Greetings,
I am having a new issue with IJ, in that it will not resolve symbols that are defined in a local jar. This is a jar I build from another project of ours.
When I open File -> Project Structure -> Libraries and go to the dependency, there are no problems shown, and the path to the jar file correctly points to the jar in my ~/.ivy2/local location. The jar file does contain the correct symbols.
I've tried "Refresh sbt project" and invalidating caches, but am not sure what else to try. This has all worked in the past, and I don't know what is now different. What more can I do to try to understand why IJ isn't resolving these symbols?
Thanks,
Charle
Scala, sbt
I'm using IJ 2017.3.5, having downgraded from 2018.1 wondering if this was a new issue with 2018
Windows 10
Not sure what else I'm forgetting about my env.
Please sign in to leave a comment.
Please file a bug at https://youtrack.jetbrains.com/issues/IDEA and attach a sample project that will reproduce the issue. Also attach the logs: https://intellij-support.jetbrains.com/hc/articles/207241085.
I don't know exactly what caused this to start working again, but I spent a bunch of time experimenting with deleting the various ivy cache and local directories and somewhere in there it started working.
Thanks for your reply, though.
- C