Tag Archives: Production environment problems

Error in STS importing POM file of Maven project

Today, we use STS to import Maven project, install the document installation software and load the document all the way, but after the import project is opened, we always report an error, POM file reports an error, and we can’t find the third-party jar package written by the company. Check it again and again, and there is no error in the process

Colleagues help to check, replace the local library, can not solve. Finally, the settings file of Maven was replaced.

Reason: in the old version of maven, the settings file has not been modified. I don’t know where there is a problem. I can’t find the company’s private jar package. I replaced my colleagues’ settings file to solve the problem.

Idea: POM file error, check Maven installation settings, especially settings file.