Home > Back-end >  IDEA, MAVEN project import appear red wavy lines, solving?
IDEA, MAVEN project import appear red wavy lines, solving?

Time:09-24

to see what the Internet change the pom. The XML, what change the version number is useless, seeks the solution

CodePudding user response:

With,,,, I also am the situation

CodePudding user response:

Check your Settings File path of the maven is correct, the File - & gt; Maven Settings, search, the right of the User setting the file path is correct

CodePudding user response:

I just solved the problem:

CodePudding user response:

reference arsaycode reply: 3/f
I just solved the problem:

Why do I still won't do it

CodePudding user response:

reference 4 floor qq_21163061 response:
Quote: reference arsaycode reply: 3/f

I just solved the problem:

Why do I still won't do it
detailed description of your problem

CodePudding user response:

To import the package maven - reimport

CodePudding user response:

To see your setting file configuration such as the specific profiles

CodePudding user response:

If you are a direct copy of key points of project folder open don't you want to import the project, the reason seems to be if ordered the import project according to the wizard to the end, often a main project, look under all rely on in the main project, the main project is that you just created must be empty, so I would be an error, want to really want to import the project, you need to go to the project under the Structure of Modules, put you under the original project under all packages in the main,

CodePudding user response:

Download maven to manage the jar didn't succeed, recommend replacing the maven repository

CodePudding user response:

Just also encountered this problem, the solution to prevent: first in the pom file comment out red dependent, and then clean the project, and manually delete the red that rely on in maven repository downloaded jars and other related documents, to let go of depend on the information in the pom file, install the project (if there are multiple red, to let go of a dependency install don't think this works, no matter if you need to look for other way, I met the similar question is ultimately solved)

CodePudding user response:

If, on the way, you have half a day still can't solve, may be the jar package in your local warehouse and cloud above all have no, is a private package, ask before project developers for private servers package address, configuration in the setting,

CodePudding user response:

Find maven root directory, and then you have the red jar package to delete, and then in pom. The XML file to import

CodePudding user response:

Rely on the red wavy lines are generally maven without from the warehouse to the corresponding package, go to the local maven cache check for these packages