Why first line in pom.xml in spring-boot Application showing error…

Why first line in pom.xml in spring-boot Application showing error…
<?xml version=”1.0″ encoding=”UTF-8″?>
Desciption Unknow, Type Maven Configuration problem

More info: ISSUE: https://github.com/spring-projects/spring-boot/issues/16846#issuecomment-492792506

Why: This happening with 2.1.5.RELEASE. Add the following entry to your pom to fix that issue.

Fix: It can be fixed downgrading the maven-jar-plugin to 3.1.1 (from 3.1.2). To do so add the following entry to your pom to fix that issue.


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

Leave a comment