'Failed to load API definition - Spring boot 2.6.2 with OpenAPI (springfox-boot-starter - 3.0.0)

This is how my code structure and error is -

enter image description here

If I remove setting springdoc.swagger-ui.url from properties, it works.



Sources

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

Source: Stack Overflow

Solution Source