error'Unknown' when opens the scaffolding project POM in eclipse

created at 08-10-2021 views: 2

1. Problem

Recently, the company has done a scaffolding project internally, and the AutoGenerator project based on mybatis-plus has made some personalized transformations.
After generating the project through configuration, the first line of pom.xml reports an error of Unknown

2. Environment

I asked a colleague who did not report an error. They used the development tools idea and SpringTools4, and I used eclipse.

3. Solution

I googled a while online and found that it was because of the version of maven-jar-plugin that it needed to be downgraded to version 3.1.1. Add the following configuration to my parent project:


Resolve after executing maven update at the prompt


Why am I getting Unknown error in line 1 of pom.xml?

created at:08-10-2021
edited at: 08-10-2021: