Summary of problems encountered when using Maven

●In a certain development process, I found that dependencies and version numbers have been added to the pom file, but these dependencies cannot be referenced in the code. Finally found a solution: Find the MAVEN plug-in in IDEA (file->setting-> search box and enter maven->ignored files), see if you have ignored your pom file, just cancel it.

●Multi-modules project, when a new project is created for operation/package, how to solve Maven: Failed to read artifact descriptor:

The installation needs to be performed at least once in the POM directory of the parent project. mvn install

Guess you like

Origin blog.csdn.net/sinat_37138973/article/details/83241846