Record the small problems encountered in the process of using idea. Although it’s a small problem, it’s been confused for a long time. It’s very annoying.
A new Maven project is created to introduce related dependencies in POM files, but idea external libraries does not display the repositories introduced in Maven. Various solutions have been found on the Internet, but none of them can solve the problem. The incomplete statistics of these solutions are as follows:
Open Maven project – > life cycle – > clean on the right side of idea
Finally, in the Maven project sidebar, right-click project name – > reimport
Idea configuration file path C: users76193.intellijidea2018.2configuptionsprojectview.xml
Showlibrarycontents in is set to true
Delete idea configuration file C: users76193.intellijidea2018.2configuoptionsprojectview.xml, clean up idea cache and restart
None of the above methods work….
Finally, my solution is to delete the project and create a new one. After modifying the POM file, the idea pops up
Click Import changes, and the dependent jar package will be displayed in the external libraries, which is really a wonderful work….