Microservices and multi-modules depend on each other and the dependency fails after git is pulled locally
1. First confirm whether the maven local warehouse address of your idea is correct
2. Confirm whether the java version in your idea is what you want
3. Usually the microservice module may be under a parent project, and when you import it into the idea, only the parent project is imported, and all the subprojects under it are not imported. As a result, there is no relevant dependency relationship between the subprojects. The correct structure is shown below:
And if it is not imported, the maven project on the right side of the idea will be grayed out. After normal import: