pom.xml reported unknown error

1. From https://start.spring.io/ generate demo spring initializr using the default 2.1.6.release (2019 Nian 7 Yue 10th)

2. After the eclipse load, pom.xml will be reported unknown error.

3. Use maven - update project ... invalid

Solution:

Reduce spring-boot-starter-parent version 2.0.3.RELEASE, then maven - update project ...

The specific cause is unknown, speculation is matching jar package was not ready,

In https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent View 2.1.6 is there, and is the latest release.

Guess you like

Origin www.cnblogs.com/anenyang/p/11163190.html