pom.xml报unknown error

1. 从https://start.spring.io/的spring initializr生成demo,使用默认的2.1.6.release(2019年7月10日)

2. 在eclipse加载后,pom.xml会报unknown error。

3.使用maven--update project...无效

解决方法:

降低spring-boot-starter-parent版本为2.0.3.RELEASE,然后再maven--update project...

具体原因不明,猜测是与之匹配的jar包还没准备好,

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent查看2.1.6是有的,并且是最新的发布。

猜你喜欢

转载自www.cnblogs.com/anenyang/p/11163190.html