简体   繁体   English

org.springframework.hateoas.ResourceSupport 未找到 spring boot

[英]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.

相关问题 使用 spring-boot-starter-hateoas 时找不到 org.springframework.hateoas.Resource 和 org.springframework.hateoas.mvc.ControllerLinkBuilder - org.springframework.hateoas.Resource and org.springframework.hateoas.mvc.ControllerLinkBuilder cannot be found when using spring-boot-starter-hateoas Spring HATEOAS resourcesupport - >域对象 - Spring HATEOAS resourcesupport -> domain object Spring HATEOAS 1.x 上的 ResourceSupport.getId() - ResourceSupport.getId() on Spring HATEOAS 1.x 未找到依赖项 'org.springframework.boot:spring-boot-starter-data-jpa:2.5.3' - Dependency 'org.springframework.boot:spring-boot-starter-data-jpa:2.5.3' not found org.springframework.boot:spring-boot-starter-parent:2.4.0' 未找到 - org.springframework.boot:spring-boot-starter-parent:2.4.0' not found “依赖'org.springframework.boot:spring-boot-starter-log4j2:2.3.5.RELEASE'未找到” - "Dependency 'org.springframework.boot:spring-boot-starter-log4j2:2.3.5.RELEASE' not found " 项目 'org.springframework.boot:spring-boot-starter-parent:2.4.0' 未找到 - Project 'org.springframework.boot:spring-boot-starter-parent:2.4.0' not found 未找到依赖项 'org.springframework.boot:spring-boot-starter-security:2.2.6.RELEASE' - Dependency 'org.springframework.boot:spring-boot-starter-security:2.2.6.RELEASE' not found 找不到插件“org.springframework.boot:spring-boot-maven-plugin:” - Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found 未找到依赖项 'org.springframework.boot:spring-boot-starter-validation:2.5.1' - Dependency 'org.springframework.boot:spring-boot-starter-validation:2.5.1' not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM