简体   繁体   中英

org.springframework.hateoas.ResourceSupport not found spring boot

I have updated the spring boot version.

   springBootVersion = "2.1.13.RELEASE"   to "2.3.11.RELEASE"

Post that I am getting ResourceSupport not found error. I have reading hateoas documentation and understood that this particular class was renamed to something else. I have tried upgrading below dependencies but it did not help.

  compile "io.springfox:springfox-swagger-ui:3.0.0"
  compile "io.springfox:springfox-swagger2:3.0.0"
  compile 'io.springfox:springfox-boot-starter:3.0.0'

Can you help me to solve this.

我有同样的问题,在 Spring Hateoas doc 中发现(见https://docs.spring.io/spring-hateoas/docs/current/reference/html/#reference )你应该改变,ResourceSupport 现在是 RepresentationModel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM