In a newly created Spring Boot project with STS, the first line of pom.xml gives an error. Eclipse uses "pleiades-2019-03-java-win-64bit-jre_20190508".
Cause
A bug in the latest version 3.1.2 of maven-jar-plugin at the moment?
Action
Check with npm repository and 3.1.2 is the latest. It is solved by dropping one version to 3.1.1.
<properties>
<java.version>11</java.version>
<!--add to-->
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
</properties>
> ## Provisional measures?
Will it be fixed when> 3.1.3 comes out? For the time being, it is a provisional measure.
[Source site](https://one-it-thing.com/2002/)
Recommended Posts