Question: pom.xml error unknown error when the eclipse neon4.6.3 New springboot project
The reason: the Spring 2.1.8 update the Boot maven plugin, eclipse is not compatible.
Solution: In adding maven-jar-plugin version 2.1.4 or down to the spring boot and below can pom.xml, and then update projects on it.
1 <parent> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-parent</artifactId> 4 <version>2.1.8.RELEASE</version> 5 <relativePath/> <!-- lookup parent from repository --> 6 </parent>
or
1 <properties> 2 <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> 3 </properties>
Error disappears, right -> maven -> update project