''Ambiguous search mapping detected.' exception is thrown when springfox-boot-starter 3.0.0 is implemented in Spring Boot 2.3.6

An 'java.lang.IllegalStateException: Ambiguous search mapping detected.' exception is thrown when I try to implement springfox-boot-starter 3.0.0 in Spring Boot 2.3.6.

I have two overloaded methods public abstract Collection abc(int) and public abstract Page abc(int, Pagable) in the same repository. The exception says that both these methods are mapped to /abc! Tweak configurations to get to unambiguous paths!.

Any suggestion to solve this issue? Thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source