[关闭]
@windwolf 2019-09-30T06:33:45.000000Z 字数 4938 阅读 1282

升级Spring boot 2.1.6 踩坑宝典

Sailing


升级期间添加以下依赖, 增加很多提示信息, 升级完去除

  1. <dependency>
  2. <groupId>org.springframework.boot</groupId>
  3. <artifactId>spring-boot-properties-migrator</artifactId>
  4. <scope>runtime</scope>
  5. </dependency>

boot或者springframework相关

servlet相关

spring cloud相关

jpa 相关

security

scheduledJob

file

feign-form, feign-form-spring这两个依赖包升级到3.8.0. config的地方, 改:

  1. @Bean
  2. @Primary
  3. @Scope("prototype")
  4. public Encoder multipartFormEncoder() {
  5. return new SpringFormEncoder();
  6. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注