There is always a red wavy line (lack of dependencies) in the dependencies in the idea

When using IDEA for maven development, when a new project is imported into the workspace, there is always a red wavy line in the dependencies in the Maven Projects column, as shown below:



But these jars actually exist in my local maven warehouse, and later After accidentally modifying the pom, I found that this may be a bug of IDEA. The solution is:

for the dependency with the wavy line, delete it from the pom, save it, and then undo it, and a miracle occurs. . . . A very silent question.

Reference:
http://blog.csdn.net/shiqidide/article/details/50519319

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327060321&siteId=291194637