Я пытаюсь адаптировать модуль отдыха данных пружины с помощью swagger-ui, я использую версию SpringBoot 2.1.3.RELEASE и версию 2.9.2 для зависимостей swagger, которая включает в себя springfox-data-rest, springfox-swagger2, springfox-чванство
An attempt was made to call the method org.springframework.data.repository.support.Repositories.getRepositoryInformationFor(Ljava/lang/Class;)Lorg/springframework/data/repository/core/RepositoryInformation; but it does not exist. Its class, org.springframework.data.repository.support.Repositories, is available from the following locations:
jar:file:/Users/batuhan.apaydin/.m2/repository/org/springframework/data/spring-data-commons/2.1.5.RELEASE/spring-data-commons-2.1.5.RELEASE.jar!/org/springframework/data/repository/support/Repositories.class
It was loaded from the following location:
file:/Users/batuhan.apaydin/.m2/repository/org/springframework/data/spring-data-commons/2.1.5.RELEASE/spring-data-commons-2.1.5.RELEASE.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.data.repository.support.Repositories
Я также пытался добавить
@Import({springfox.documentation.spring.data.rest.configuration.SpringDataRestConfiguration.class})
, но ничего не исправлено.
У кого-нибудь есть идея, почему я получаю эту ошибку?