The problem of red wavy lines under Plugins and Dependencies under the maven project
1. The specific situation
- Red wavy lines appear in Plugins in Maven Project
2. Solution:
- File --> Settings --> Compiler --> 勾选:Build project automatically
- Restart IDEA
1. The specific situation
- Red wavy lines appear in Dependencies in Maven Project
- Query local warehouse: the jar package already exists
2. Solution:
- Remove the corresponding information from the POM file!
- Perform Maven operation: clean
- Refill the original dependencies into the POM file
- Return to normal, no more red wavy lines
Solution summary:
Solution 1:
Modify the pom configuration file, delete the dependencies marked in red, and click reimport, then add the wrong dependencies again, and then reimport
Option 2
From deleting the file directory in the local warehouse, force maven to download the package again