Prompt unknown error in pom.xml of Maven project

Today, we learn how to build a spring cloud foundation project. Pom.xml file prompts unknown error exception.

Try to solve the problem: I prefer to rely on Maven project and check whether the jar package that Maven project relies on is downloaded to the local warehouse normally, but none of them solve the problem.

After Googling, I found that many students met this situation, and I also found the cause of the problem.

Cause of the problem: there is a conflict between the spring boot version of Maven project and the Maven jar plugin version.

Solution version: reduce Maven jar plugin version

Pom.xml instance:

<project xmlns="" xmlns:xsi=""

	<description>CX-Cloud:Microservice Rights Management System</description>

		<relativePath /> <!-- lookup parent from repository -->

	<!--set the version -->




Note: the point is to specify the Maven jar plugin version in the properties version tab

Read More: