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

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


answer according to current status

This issue got fixed:

Please install the m2e connector for mavenarchiver plugin 0.17.3 from https://download.eclipse.org/m2e-wtp/releases/1.4/


obsolete answer

A less profound change than a downgrade from Spring Boot 2.1.5.RELEASE to 2.1.4.RELEASE would be downgrading only the affected Maven JAR Plugin from 3.1.2 to 3.1.1 as long as this bug exists:

<properties>    <!-- ... -->    <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version></properties>


Add 3.1.1 in to properties like below than fix issue

<properties>        <java.version>1.8</java.version>        <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version></properties>

Just Update Project => right click => Maven=> Update Project


For me I changed in the parent tag of the pom.xml and it solved itchange 2.1.5 to 2.1.4 then Maven-> Update Project