org.springframework.boot:spring-boot-starter-velocity:unknown以及其他依赖因spring版本不同无法加载

1、问题原因

不同spring版本,包含依赖不同,不指定版本信息相关依赖父类无法指定

2、解决方式

举例如下,

如图,如果2.3.1版本没有velocity而1.3.6版本有,那么在velocity依赖下面添加版本信息,之后再同步maven。

猜你喜欢

转载自blog.csdn.net/kepengs/article/details/107259360