"XXX has broken path" error resolution in idea

Today, when you guide a package in idea (mybaits-plus-generator, located in the maven submodule), look at the Maven Projects on the right has been added to Dependencies , but under the project directory structure External Libraries (the packages that the entire project depends on are here ) Never see the import coming in. At first I thought that it was generally because there was a problem with maven importing the package, so the following troubleshooting steps were taken in turn:

1. Delete the relevant packages of the local maven warehouse and re-depend, the packages can be pulled normally (invalid)

2. Change package version (invalid)

3. Delete the idea-related configuration files (*.imi, .idea/) in the project, and re-import the project (invalid)

Finally, I thought that in the Dependencies of each module in the Project Structure , there is a list of packages that it depends on separately. Here, I saw the following

Then after opening it, I looked for a long time and suddenly found that a place should be the problem!

Just specify the path mapping from here to the local warehouse to specify the jar package again!

As for why there is such a wrong mapping path, guess is still due to the use of tools!

 

Guess you like

Origin blog.csdn.net/u014225733/article/details/100705697