[英]org.springframework.hateoas.ResourceSupport not found spring boot
I have updated the spring boot version.我已经更新了 spring boot 版本。
springBootVersion = "2.1.13.RELEASE" to "2.3.11.RELEASE"
Post that I am getting ResourceSupport not found error.发布我收到 ResourceSupport not found 错误。 I have reading hateoas documentation and understood that this particular class was renamed to something else.
我已经阅读了 hatoas 文档并了解到这个特定的类已重命名为其他类。 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.