Microservice project: Create a parent-child module project - the coordinates of a certain module cannot be found

【1】Project structure problem

The structure before the error:

Solution

{1} project structure problem

    Method: Put the project tower into this 

{2} recreate project, refresh cache

[2] If you still report an error, use the project construction method (the actual test is the most effective)

Remember to refresh the maven on the right as follows

Principle: It is because the .class file in your taget is not fully compiled, so some codes cannot be found, so an error will be reported.

Summary: I have been troubled by the pom module coordinates not being found for the microservice project before, but it is fine to use the project build

 

Guess you like

Origin blog.csdn.net/weixin_54691198/article/details/129835887