Error in the first line of pom.xml [How to Solve]

First line: & lt; project xmlns=” http://maven.apache.org/POM/4.0.0 ” xmlns:xsi=” http://www.w3.org/2001/XMLSchema-instance ” xsi:schemaLocation=” http://maven.apache.org/POM/4.0.0 http://maven.apache.org/m…

The content of the error report is   http://maven.apache.org/POM/4.0.0

The error message probably means that Maven wants to try to download Maven surefire plugin, but can’t download it

Solution:

first determine whether your computer can connect to the network

If you can connect to the network, execute the following command under the path of Maven’s local library:

for /r %i in (*.lastUpdated) do del %i

Finally, try to refresh the Maven project to see if it can succeed

 

Similar Posts: