To help a colleague to import a MAVEN project found that no POM files are present after import.
Said it was not possible to find the corresponding jar file from the server. Then after a long time to finally find the cause, summed up the following 1, the network has problems
2. The jar library is not trusted
3, the POM configuration version error
The probability of the above three problems is very low and is not universal, sometimes when the MAVEN project is brought in, the jar of the POM configuration does not have a corresponding jar file.
We can also manually import the jar into the local repository
The way to import is to use the command to execute a JAR file
To put the jar files that need to be imported into the local warehouse into any directory
Next use the shift+ right mouse button, execute the Command window, first copy the command of the text document, and then right-click the window to paste, enter execution, see success when the execution is successful, if the execution fails, look at the directory address in the command window exists, does not exist then create a
When all is done, check to see if the local warehouse jar directory exists.
Then run as---> Maven install in the project,