IntelliJ can't load Maven dependency

丶灬走出姿态 提交于 2020-12-13 03:11:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!