Why HATEOAS starts creating issue for spring-boot version >= 2.2.x during startup with Swagger 2.x?

前端 未结 14 2261
忘掉有多难
忘掉有多难 2020-12-09 15:18

I moved my project from spring-boot 2.1.9 to 2.2.0.

While starting the project, I am facing the below error messages.

Caused by: org.sprin         


        
14条回答
  •  孤城傲影
    2020-12-09 16:06

    I was getting error

    "Error creating bean with name 'halLinkDisocoverer' defined in class path resource [org/springframework/hateoas/mediatype/hal/HalMediaTypeConfiguration.class]"..

    While Building a Hypermedia-Driven RESTful Web Service

    Deletion of this dependency

    
         com.jayway.jsonpath
         json-path
         test
    
    

    resolved my issue.

    Check this link for more details Why i am getting an error Factory method 'halLinkDisocoverer' threw exception in springboot?

提交回复
热议问题