问题
I'm using IntelliJ IDEA Community 2020.2.3.
My project is built around Kotlin 1.3.30 and Java 11.
I've upgraded one of my dependecy to java 11 too, and after that, the IDE shows the dependency under "External Libraries", it build the app without errors, Maven build it from terminal without error, but the IDE shows unresolved references on each occurrency of the classes, functions and imports of that library.
I already tried to empty the cache or deleting idea files and importing again the project, but none of those worked.
Any tips?
回答1:
You can use CTRL+SHIFT+A
and look for Load Maven Changes
or CTRL+SHIRT+O
to do the same thing
来源:https://stackoverflow.com/questions/64983094/intellij-cant-load-maven-dependency